Apache ports.conf configuration example for Ubuntu 14.04 LTS (Trusty Tahr)

Get the default configuration file ports.conf for Apache, optimized for Ubuntu 14.04 LTS (Trusty Tahr). This example configuration ensures optimal compatibility and performance for Apache, making it easy to set up and adjust to meet your needs.

Find and download the configuration file here: /etc/apache2/ports.conf.

For more configurations and setup guides, visit our related files section to further customize your system.

    # If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default.conf

Listen 80

<IfModule ssl_module>
	Listen 443
</IfModule>

<IfModule mod_gnutls.c>
	Listen 443
</IfModule>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet

    
  

Config Details

Location
/etc/apache2/ports.conf
Operating system
Ubuntu 14.04 LTS (Trusty Tahr)
Length
15 lines
MD5 checksum
a961f23471d985c2b819b652b7f64321

Usage

Download the raw file with wget or curl

Wget

wget -O ports.conf.example https://exampleconfig.com/static/raw/apache/ubuntu14.04/etc/apache2/ports.conf

cURL

curl https://exampleconfig.com/static/raw/apache/ubuntu14.04/etc/apache2/ports.conf > ports.conf.example