1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-22 13:12:41 +00:00

More Apache fixes

This commit is contained in:
J. King 2021-05-25 17:03:08 -04:00
parent f9cbac2c31
commit 6c84b2199e
2 changed files with 2 additions and 8 deletions

View file

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

View file

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