docker/apache/site.conf
2023-12-05 12:38:47 +00:00

22 lines
545 B
Text

<VirtualHost *:80>
#ServerName www.example.com
ServerAdmin contact@
DocumentRoot /var/www/html
<Directory /var/www/html>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
SetEnvIf X-Forwarded-Proto "^https$" HTTPS=on
RemoteIPHeader X-Forwarded-For
LogFormat "%a %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>