17 lines
476 B
Plaintext
17 lines
476 B
Plaintext
|
|
# Global log redirection to stdout and stderr
|
||
|
|
ErrorLog "|/usr/bin/tee -a /var/log/apache2/error.log"
|
||
|
|
CustomLog "|/usr/bin/tee -a /var/log/apache2/access.log" combined
|
||
|
|
|
||
|
|
<VirtualHost *:80>
|
||
|
|
DocumentRoot /data/public
|
||
|
|
<Directory /data/public>
|
||
|
|
Options Indexes FollowSymLinks
|
||
|
|
AllowOverride All
|
||
|
|
Require all granted
|
||
|
|
</Directory>
|
||
|
|
|
||
|
|
# Remote IP configuration
|
||
|
|
RemoteIPHeader X-Forwarded-For
|
||
|
|
RemoteIPTrustedProxy 127.0.0.1
|
||
|
|
</VirtualHost>
|