fix and adjust mastercontainer apache logging

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2023-06-18 01:04:42 +02:00
parent d564202efb
commit cc66d0dc4b
2 changed files with 9 additions and 1 deletions

View file

@ -11,8 +11,11 @@ Listen 8080
ServerName localhost
# Add error log
CustomLog /proc/self/fd/1 combined
CustomLog /proc/self/fd/1 proxy
LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" proxy
ErrorLog /proc/self/fd/2
ErrorLogFormat "[%t] [%l] [%E] [client: %{X-Forwarded-For}i] [%M] [%{User-Agent}i]"
LogLevel warn
# PHP match
<FilesMatch "\.php$">