Browse Source

More Apache fixes

rpm
J. King 3 years ago
parent
commit
6c84b2199e
  1. 7
      dist/apache/arsse-loc.conf
  2. 1
      dist/apache/arsse.conf

7
dist/apache/arsse-loc.conf

@ -1,8 +1,3 @@
# Nextcloud News version list
<LocationMatch "^/index\.php/apps/news/api/?$">
ProxyPass ${ARSSE_PROXY}
</LocationMatch>
# Nextcloud News protocol
<Location "/index.php/apps/news/api">
ProxyPass ${ARSSE_PROXY}
@ -18,8 +13,6 @@
ProxyPass ${ARSSE_PROXY}
</Location>
# NOTE: The DocumentRoot directive will dictate whether TT-RSS static images are served correctly
# Fever protocol
<Location "/fever">
ProxyPass ${ARSSE_PROXY}

1
dist/apache/arsse.conf

@ -6,5 +6,6 @@ DocumentRoot "/usr/share/arsse/www"
Define ARSSE_PROXY "unix:/var/run/php/arsse.sock|fcgi://localhost/usr/share/arsse/"
ProxyPreserveHost On
ProxyFCGISetEnvIf "true" SCRIPT_FILENAME "/usr/share/arsse/arsse.php"
ProxyFCGISetEnvIf "-n req('Authorization')" HTTP_AUTHORIZATION "%{req:Authorization}"
Include "/etc/arsse/apache/arsse-loc.conf"

Loading…
Cancel
Save