mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 16:14:40 +00:00
WebUI/CP hardening, hide server version, close https://github.com/opnsense/core/issues/2618
This commit is contained in:
parent
dc8b411420
commit
b56c2dfdd2
@ -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}
|
||||
|
||||
|
||||
@ -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}}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user