aboutsummaryrefslogtreecommitdiff
path: root/extra/fuss.conf.apache
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2021-09-24 15:17:35 -0400
committerB Stack <bgstack15@gmail.com>2021-09-24 15:17:35 -0400
commitd960f0cef937ae8a4a19e4dfaf3c617f1e93b10c (patch)
tree3a858b0e1c9fba106174052e85dfceff41398abe /extra/fuss.conf.apache
parentfix some building details for el7 (diff)
downloadfuss-d960f0cef937ae8a4a19e4dfaf3c617f1e93b10c.tar.gz
fuss-d960f0cef937ae8a4a19e4dfaf3c617f1e93b10c.tar.bz2
fuss-d960f0cef937ae8a4a19e4dfaf3c617f1e93b10c.zip
fix x-forwarded-prefix header consumption
Now that I have experimented with X-Forwarded-Prefix and reverse proxies, this logic works correctly now!
Diffstat (limited to 'extra/fuss.conf.apache')
-rw-r--r--extra/fuss.conf.apache5
1 files changed, 3 insertions, 2 deletions
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/
<Location /fuss>
# 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"
</Location>
</VirtualHost>
-# vim:set syntax=apache ts=3 sw=3 sts=3 sr noet:
+# vim:set syntax=apache ts=3 sw=3 sts=3 sr et:
bgstack15