From d960f0cef937ae8a4a19e4dfaf3c617f1e93b10c Mon Sep 17 00:00:00 2001 From: B Stack Date: Fri, 24 Sep 2021 15:17:35 -0400 Subject: fix x-forwarded-prefix header consumption Now that I have experimented with X-Forwarded-Prefix and reverse proxies, this logic works correctly now! --- extra/fuss.conf.apache | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'extra/fuss.conf.apache') diff --git a/extra/fuss.conf.apache b/extra/fuss.conf.apache index 661b708..d52c7ee 100644 --- a/extra/fuss.conf.apache +++ b/extra/fuss.conf.apache @@ -52,9 +52,10 @@ ProxyPassReverse /fuss http://localhost:5003/ # a2enmod headers. These are extra ones that are not provided by Apache natively. - RequestHeader append X-Forwarded-Prefix "/fuss" RequestHeader set X-Forwarded-Proto "https" + # This header is not required to be set manually. The ProxyPass orand Location directive already provide it! + #RequestHeader append X-Forwarded-Prefix "/fuss" -# vim:set syntax=apache ts=3 sw=3 sts=3 sr noet: +# vim:set syntax=apache ts=3 sw=3 sts=3 sr et: -- cgit