From 17d8b4e008c9b01b76bfe2263f336cd2d7fc9ab5 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Fri, 2 Oct 2015 10:58:40 +0200 Subject: [PATCH] (captiveportal, new) work in progress template --- .../templates/OPNsense/Captiveportal/lighttpd-zone.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/opnsense/service/templates/OPNsense/Captiveportal/lighttpd-zone.conf b/src/opnsense/service/templates/OPNsense/Captiveportal/lighttpd-zone.conf index c3c08b388..a18f524a3 100644 --- a/src/opnsense/service/templates/OPNsense/Captiveportal/lighttpd-zone.conf +++ b/src/opnsense/service/templates/OPNsense/Captiveportal/lighttpd-zone.conf @@ -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" )