WebUI/CP hardening, hide server version, close https://github.com/opnsense/core/issues/2618

This commit is contained in:
Ad Schellevis 2018-08-09 20:20:49 +02:00
parent dc8b411420
commit b56c2dfdd2
2 changed files with 2 additions and 1 deletions

View File

@ -238,7 +238,7 @@ server.max-keep-alive-idle = 30
## a static document-root, for virtual-hosting take look at the
## server.virtual-* options
server.document-root = "/usr/local/www/"
server.tag = "OPNsense"
{$http_rewrite_rules}

View File

@ -131,6 +131,7 @@ server.tag = "lighttpd"
#### static document-root
server.document-root = "/htdocs/"
server.tag = "OPNsense"
#### chroot() to captive portal zone directory
server.chroot = "/var/captiveportal/zone{{cp_zone_item.zoneid}}"