cryptonas/conf-examples/apache_proxypass.conf

26 lines
574 B
Text
Raw Normal View History

# 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>