mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-03-23 08:41:52 -04:00
#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
32 lines
791 B
Plaintext
32 lines
791 B
Plaintext
ServerName freshrss.localhost
|
|
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 %b \"%{Referer}i\" \"%{User-Agent}i\"" combined_proxy
|
|
CustomLog /dev/stdout combined_proxy
|
|
ErrorLog /dev/stderr
|
|
AllowEncodedSlashes On
|
|
ServerTokens OS
|
|
|
|
<Directory />
|
|
AllowOverride None
|
|
Options FollowSymLinks
|
|
Require all denied
|
|
</Directory>
|
|
|
|
<Directory /var/www/FreshRSS/p>
|
|
AllowOverride None
|
|
Include /var/www/FreshRSS/p/.htaccess
|
|
Options FollowSymLinks
|
|
Require all granted
|
|
</Directory>
|
|
|
|
<Directory /var/www/FreshRSS/p/api>
|
|
Include /var/www/FreshRSS/p/api/.htaccess
|
|
</Directory>
|
|
|
|
<Directory /var/www/FreshRSS/p/i>
|
|
IncludeOptional /var/www/FreshRSS/p/i/.htaccess
|
|
</Directory>
|