mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-22 21:22:40 +00:00
More Apache fixes
This commit is contained in:
parent
f9cbac2c31
commit
6c84b2199e
2 changed files with 2 additions and 8 deletions
7
dist/apache/arsse-loc.conf
vendored
7
dist/apache/arsse-loc.conf
vendored
|
@ -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}
|
||||||
|
|
3
dist/apache/arsse.conf
vendored
3
dist/apache/arsse.conf
vendored
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue