diff --git a/Containers/apache/nextcloud.conf b/Containers/apache/nextcloud.conf index b580cb59..d5e91baf 100644 --- a/Containers/apache/nextcloud.conf +++ b/Containers/apache/nextcloud.conf @@ -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