cryptonas-archive/v0.3.5/conf-examples/apache_proxypass.conf
2009-07-18 04:12:08 +00:00

25 lines
574 B
Text

# CryptoBox configuration file
#
# the following directives allow you to use the cryptobox web interface behind apache2
#
# you need to enable the following modules:
# - proxy
# - headers
# (for debian: run "a2enmod MOD_NAME")
#
ProxyRequests Off
# you may restrict access if necessary
<Proxy *>
Order Deny,Allow
Allow from all
</Proxy>
<Location /cryptobox/>
ProxyPass http://localhost:8080/
ProxyPassReverse http://localhost:8080/
# this requestheader is necessary to allow proper redirection to https
RequestHeader set CryptoBox-Location /cryptobox
</Location>