2017-07-22 09:55:39 +02:00
|
|
|
<VirtualHost SITE_IP:SITE_PORT>
|
2017-07-22 09:15:38 +02:00
|
|
|
ServerName SITE_NAME
|
|
|
|
ServerAdmin bofh@tetalab.org
|
|
|
|
DocumentRoot /var/www/SITE_NAME
|
|
|
|
RemoteIPHeader X-Forwarded-For
|
|
|
|
RemoteIPInternalProxy 192.168.122.0/24
|
|
|
|
<Directory /var/www/SITE_NAME>
|
|
|
|
AllowOverride All
|
|
|
|
Require all granted
|
|
|
|
</Directory>
|
|
|
|
ErrorLog /var/log/httpd/SITE_NAME.error.log
|
|
|
|
CustomLog /var/log/httpd/SITE_NAME.access.log combined
|
|
|
|
</VirtualHost>
|