aboutsummaryrefslogtreecommitdiff
path: root/docs/rest_api/lighttpd
blob: 3dbcaffe868c04835d61040adafda774a753790d (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
server.document-root        = "/dev/null"

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 )) )
proxy.forwarded = ( "host" => 1 )