Skip to content

Instantly share code, notes, and snippets.

@rohan-molloy
Created January 10, 2018 10:01
Show Gist options
  • Save rohan-molloy/a8d1bbdf83cd43255eaa3df8db35340e to your computer and use it in GitHub Desktop.
Save rohan-molloy/a8d1bbdf83cd43255eaa3df8db35340e to your computer and use it in GitHub Desktop.
server.socket = "0.0.0.0:443"
server.username = "www-data"
server.groupname = "www-data"
server.modules = (
"mod_proxy",
"mod_access",
"mod_compress",
)
ssl.dh-file = "/etc/lighttpd/dh2048.pem"
ssl.ec-curve = "secp384r1"
ssl.engine = "enable"
ssl.pemfile = "/etc/lighttpd/server.pem"
ssl.cipher-list = "EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH"
ssl.ca-file = "/etc/lighttpd/cacert.pem"
#ssl.verifyclient.activate = "enable"
#ssl.verifyclient.enforce = "enable"
#ssl.verifyclient.username = "SSL_CLIENT_S_DN_CN"
server.document-root = "/var/lib/transmission-daemon/downloads"
server.errorlog = "/var/log/lighttpd/error.log"
server.pid-file = "/var/run/lighttpd.pid"
proxy.server = ( "/transmission" =>
(
( "host" => "127.0.0.1",
"port" => 9091
)
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment