2019-09-18 14:36:01 +00:00
|
|
|
server.errorlog = "/var/log/lighttpd/error.log"
|
|
|
|
server.pid-file = "/var/run/lighttpd.pid"
|
|
|
|
server.username = "www-data"
|
|
|
|
server.groupname = "www-data"
|
|
|
|
server.port = 5000
|
2019-09-27 16:49:29 +00:00
|
|
|
server.document-root = "/dev/null"
|
2019-09-18 14:36:01 +00:00
|
|
|
|
|
|
|
server.modules += ("mod_openssl", "mod_proxy", "mod_setenv")
|
|
|
|
|
|
|
|
ssl.engine = "enable"
|
|
|
|
ssl.ca-file = "/etc/letsencrypt/live/example.com/fullchain.pem"
|
|
|
|
ssl.pemfile = "/etc/letsencrypt/live/example.com/fullchain.pem"
|
|
|
|
ssl.privkey = "/etc/letsencrypt/live/example.com/privkey.pem"
|
|
|
|
|
|
|
|
proxy.server = ("" => (( "host" => "::1", "port" => 5001 )) )
|
2019-09-27 16:49:29 +00:00
|
|
|
proxy.forwarded = ( "host" => 1 )
|