2006-11-22 16:21:21 +01:00
|
|
|
# CryptoBox configuration file
|
|
|
|
#
|
2006-12-13 11:01:58 +01:00
|
|
|
# the following directives allow you to use the cryptobox web interface behind apache2
|
2006-11-22 16:21:21 +01:00
|
|
|
#
|
|
|
|
# you need to enable the following modules:
|
|
|
|
# - proxy
|
|
|
|
# - headers
|
|
|
|
# (for debian: run "a2enmod MOD_NAME")
|
|
|
|
#
|
|
|
|
|
2006-12-13 11:01:58 +01:00
|
|
|
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
|
2006-11-22 16:21:21 +01:00
|
|
|
</Location>
|
2006-12-13 11:01:58 +01:00
|
|
|
|