aboutsummaryrefslogtreecommitdiff
path: root/extra/outbound.conf.apache
blob: 7e95a5a70ebbc9595e5a9939e15d5905e031b4e2 (plain)
1
2
3
4
5
6
7
8
9
10
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>
bgstack15