@ -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">
@ -18,8 +13,6 @@
</Location>
# NOTE: The DocumentRoot directive will dictate whether TT-RSS static images are served correctly
# Fever protocol
<Location "/fever">
@ -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"