aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2020-10-22 00:04:10 +0200
committerGravatar GitHub <noreply@github.com> 2020-10-22 00:04:10 +0200
commite0b80e82e2d32d7e2827587df502360a2d4b9e14 (patch)
tree6420134266003bd355480d974eaf605fc8eef8c4
parenta69a7531b6dce98ff5d8baff4039668be11be33d (diff)
Docker LogFormat Alpine (#3235)
#fix https://github.com/FreshRSS/FreshRSS/issues/3233 In Alpine, we need to enable mod_logio.c to use %O. Revert to more standard %b https://httpd.apache.org/docs/2.4/mod/mod_log_config.html#logformat
-rw-r--r--Docker/FreshRSS.Apache.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/Docker/FreshRSS.Apache.conf b/Docker/FreshRSS.Apache.conf
index 004c6c8e2..050ea4805 100644
--- a/Docker/FreshRSS.Apache.conf
+++ b/Docker/FreshRSS.Apache.conf
@@ -3,7 +3,7 @@ Listen 0.0.0.0:80
DocumentRoot /var/www/FreshRSS/p/
RemoteIPHeader X-Forwarded-For
RemoteIPTrustedProxy 10.0.0.1/8 172.16.0.1/12 192.168.0.1/16
-LogFormat "%a %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined_proxy
+LogFormat "%a %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined_proxy
CustomLog /dev/stdout combined_proxy
ErrorLog /dev/stderr
AllowEncodedSlashes On