(captiveportal, new) work in progress template

This commit is contained in:
Ad Schellevis 2015-10-02 10:58:40 +02:00
parent 54844699d6
commit 17d8b4e008

View File

@ -108,7 +108,7 @@ server.username = "www"
server.groupname = "www"
#### set the pid file (newsyslog)
server.pid-file = "/var/run/lighttpd.pid"
server.pid-file = "/var/run/lighttpd-cp-zone-{{cp_zone_item.zoneid}}.pid"
#### name the server daemon publicly displays
server.tag = "lighttpd"
@ -117,7 +117,7 @@ server.tag = "lighttpd"
server.document-root = "/htdocs/"
#### chroot() to captive portal zone directory
server.chroot = "/var/captiveportal/zone1"
server.chroot = "/var/captiveportal/zone{{cp_zone_item.zoneid}}"
#### files to check for if .../ is requested
index-file.names = ( "index.html" )