script for stunnel

This commit is contained in:
age 2006-12-13 22:04:27 +00:00
parent b16c0937f9
commit 1b05abae6c
4 changed files with 89 additions and 4 deletions

View file

@ -1,6 +1,6 @@
Running the CryptoBox cherrypy webserver behind apache
= apache in front of the cryptobox-server (cherrypy) =
The following file describes how to configure an apache2 webserver for
The following section describes how to configure an apache2 webserver for
forwarding requests to the cherrypy server of the CryptoBox.
@ -35,3 +35,34 @@ forwarding requests to the cherrypy server of the CryptoBox.
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:
# default document-root
server.document-root = "/usr/share/cryptobox-server/www-data/"
# TCP port
server.port = 443
# selecting modules
server.modules = ( "mod_access",
"mod_scgi",
"mod_accesslog",
"mod_rewrite",
"mod_staticfile" )
ssl.engine = "enable"
ssl.pemfile = "/etc/lighttpd/server.pem"
scgi.server = ( "/" =>
(( "host" => "127.0.0.1",
"port" => 8080,
"check-local" => "disable"
))
)