- http.conf defines Gateway's HTTP virtual host.
- https.conf defines Gateway's HTTPS virtual host.
As with global.conf, any settings made within the Apache server itself are overridden. Any settings made within a server definition in these files override settings of the same name made in global.conf.
# Sample virtualhost server definition. <virtualhost *:8000> ServerAdmin bob@example.com WSGIScriptAlias / /var/www.app.wsgi </virtualhost>
If you include an http.conf or https.conf file, but with no virtualhost definition, That server will be disabled. This is useful if you want to force all communications to use the more secure HTTPS server: simply create a file named http.conf and leave it empty.
Click here to download an example HTTP Apache configuration file.
Click here to download an example HTTPS Apache configuration file.