From 6c84b2199e7eb24633d8b3d0cfbbe1e2ab02c9c0 Mon Sep 17 00:00:00 2001 From: "J. King" Date: Tue, 25 May 2021 17:03:08 -0400 Subject: [PATCH] More Apache fixes --- dist/apache/arsse-loc.conf | 7 ------- dist/apache/arsse.conf | 3 ++- 2 files changed, 2 insertions(+), 8 deletions(-) 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"