mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
Adjust Apache LogFormat
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
0097abaed0
commit
0a5c4d3d99
1 changed files with 4 additions and 1 deletions
|
|
@ -3,8 +3,11 @@ Listen 8000
|
|||
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$">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue