diff --git a/dist/apache/arsse-loc.conf b/dist/apache/arsse-loc.conf index 5b7a92e..611c1fc 100644 --- a/dist/apache/arsse-loc.conf +++ b/dist/apache/arsse-loc.conf @@ -1,8 +1,3 @@ -# Nextcloud News version list - - ProxyPass ${ARSSE_PROXY} - - # Nextcloud News protocol ProxyPass ${ARSSE_PROXY} @@ -18,8 +13,6 @@ ProxyPass ${ARSSE_PROXY} -# NOTE: The DocumentRoot directive will dictate whether TT-RSS static images are served correctly - # Fever protocol ProxyPass ${ARSSE_PROXY} diff --git a/dist/apache/arsse.conf b/dist/apache/arsse.conf index f4d759e..b16c80e 100644 --- a/dist/apache/arsse.conf +++ b/dist/apache/arsse.conf @@ -5,6 +5,7 @@ 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 "true" SCRIPT_FILENAME "/usr/share/arsse/arsse.php" +ProxyFCGISetEnvIf "-n req('Authorization')" HTTP_AUTHORIZATION "%{req:Authorization}" Include "/etc/arsse/apache/arsse-loc.conf"