This commit is contained in:
Micke Nordin 2023-03-29 10:50:56 +02:00
parent 37f9a95004
commit d7bf55f990
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257

View file

@ -8,9 +8,10 @@ data:
<VirtualHost *:8080>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
# Log format config
LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" common
SetEnvIf X-Forwarded-For "^.*\..*\..*\..*" forwarded
ErrorLog /dev/stderr
CustomLog /dev/stdout common
TransferLog /dev/stdout
# Header config
RemoteIPHeader X-Forwarded-For