diff options
author | B. Stack <bgstack15@gmail.com> | 2022-11-29 16:09:22 -0500 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2022-11-29 16:09:22 -0500 |
commit | 4a8ce7e2862b338a7f8e34d016a3119290239b0b (patch) | |
tree | 951ad8a52ddf31e489e4fab7c0d0c96947d6b0f4 /extra/outbound.conf.apache | |
download | outbound-4a8ce7e2862b338a7f8e34d016a3119290239b0b.tar.gz outbound-4a8ce7e2862b338a7f8e34d016a3119290239b0b.tar.bz2 outbound-4a8ce7e2862b338a7f8e34d016a3119290239b0b.zip |
Diffstat (limited to 'extra/outbound.conf.apache')
-rw-r--r-- | extra/outbound.conf.apache | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/outbound.conf.apache b/extra/outbound.conf.apache new file mode 100644 index 0000000..7e95a5a --- /dev/null +++ b/extra/outbound.conf.apache @@ -0,0 +1,11 @@ +# Apache example config for outbound application +# Needs setsebool -P http_can_network_connect 1 +# vim:set syntax=apache ts=3 sw=3 sts=3 sr et: +ProxyPass /outbound http://localhost:4682/ +ProxyPassReverse /outbound http://localhost:4682/ +<Location /outbound> + # a2enmod headers. These are extra ones that are not provided by Apache natively. + 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 "/outbound" +</Location> |