|
@@ -14,7 +14,11 @@ ErrorLog /dev/stderr
|
|
|
RemoteIPInternalProxy 10.0.0.1/8 172.16.0.1/12 192.168.0.1/16
|
|
RemoteIPInternalProxy 10.0.0.1/8 172.16.0.1/12 192.168.0.1/16
|
|
|
</IfModule>
|
|
</IfModule>
|
|
|
|
|
|
|
|
-LogFormat "%a %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined_proxy
|
|
|
|
|
|
|
+# Default, will be overridden by p/.htaccess and p/api/.htaccess
|
|
|
|
|
+SetEnvIfExpr "reqenv('LOG_REMOTE_USER') == ''" LOG_REMOTE_USER=-
|
|
|
|
|
+SetEnvIfExpr "reqenv('LOG_REMOTE_USER') == '-' && reqenv('REMOTE_USER') =~ /(.+)/" LOG_REMOTE_USER=$1
|
|
|
|
|
+
|
|
|
|
|
+LogFormat "%a %l %{LOG_REMOTE_USER}e %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined_proxy
|
|
|
CustomLog "|/var/www/FreshRSS/cli/sensitive-log.sh" combined_proxy
|
|
CustomLog "|/var/www/FreshRSS/cli/sensitive-log.sh" combined_proxy
|
|
|
|
|
|
|
|
<IfDefine OIDC_ENABLED>
|
|
<IfDefine OIDC_ENABLED>
|