/etc/apache2/ports.conf - Ubuntu 18.04 LTS (Bionic Beaver)

This is the default example configuration of ports.conf provided by Apache. This config file was generated by Apache running on Ubuntu 18.04.

It is located under: /etc/apache2/ports.conf

    # 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 18.04 LTS (Bionic Beaver)
Length
15 lines
MD5 checksum
a961f23471d985c2b819b652b7f64321

Usage

Download the raw file with wget or curl

Wget

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

cURL

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