lars
794998f950
rendering bug of volume_properties fixed for ie fixed screen width in a mozilla/ie compatible way added german translation: 'log', 'network', 'volume_automount' and 'volume_details' fixed config management of 'plugin_manager' plugin fixed filtering of log level messages for 'logs' plugin updated documentation for ssl configurations changed default installation destinations in setup.py added nice background images to environment and help messages replaced message 'div' with 'fieldset' moved stylesheet data of plugins to html header (as required by spec) removed obsolete css definitions removed obsolete old perl/bash code improved 'update_po_files': remove obsolete msgids functionality of 'update_english.sh' moved to 'update_po_files' omit 'weblang' link attribute if it does not change the default setting changed default language from 'de' to 'en' fixed template bug that prevented the translation of plugin links fixed invalid html implement filecheck overriding for unittests
63 lines
1.5 KiB
Text
63 lines
1.5 KiB
Text
Running the CryptoBox behind a proxy
|
|
|
|
This describes how to setup the CryptoBox webserver behind a apache or lighttpd
|
|
as proxy webservers.
|
|
|
|
|
|
-=-=-=- apache in front of the cryptobox-server (cherrypy) -=-=-=-
|
|
|
|
The following section describes how to configure an apache2 webserver for
|
|
forwarding requests to the cherrypy server of the CryptoBox.
|
|
|
|
|
|
1) Required modules
|
|
- proxy
|
|
- header
|
|
Both module should be part of usual default installations of apache2.
|
|
Activate these modules. For debian you should run: a2enmod MOD_NAME
|
|
|
|
|
|
2) Configuration directives
|
|
The following example should help you to create your own proxy configuration
|
|
for apache2.
|
|
|
|
ProxyRequests Off
|
|
|
|
<Proxy *>
|
|
Order Deny,Allow
|
|
Allow from all
|
|
</Proxy>
|
|
|
|
<Location /cryptobox/>
|
|
ProxyPass http://localhost:8080/
|
|
ProxyPassReverse http://localhost:8080/
|
|
RequestHeader set CryptoBox-Location /cryptobox
|
|
# uncomment the next line for ssl-enabled virtualhosts
|
|
RequestHeader set X-SSL-Request 1
|
|
</Location>
|
|
|
|
Now you should restart apache2.
|
|
|
|
|
|
3) Testing
|
|
Now you should point your webserver to the proxy host and check if
|
|
the CryptoBox layout ist working properly.
|
|
|
|
-----
|
|
|
|
-=-=-=- lighttpd in front of the cryptobox-server (cherrypy) -=-=-=-
|
|
|
|
In this section we do the same as above, but with lighttpd.
|
|
|
|
Your lighttpd config should contain something like this:
|
|
|
|
# selecting modules
|
|
server.modules = ( "mod_scgi" )
|
|
|
|
scgi.server = ( "/cryptobox" =>
|
|
(( "host" => "127.0.0.1",
|
|
"port" => 8080,
|
|
"check-local" => "disable"
|
|
))
|
|
)
|
|
|