14 lines
484 B
Plaintext
14 lines
484 B
Plaintext
<VirtualHost SITE_IP:SITE_PORT>
|
|
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>
|