Set server.tag to empty to hide server version

Set server.tag to empty to hide server version. Still present in 301 redirect from /admin
This commit is contained in:
Vertrauensstellung 2022-04-23 11:38:48 +02:00
parent 853f6b7da2
commit 7612d09e42
2 changed files with 2 additions and 0 deletions

View file

@ -33,6 +33,7 @@ server.pid-file = "/run/lighttpd.pid"
server.username = "www-data" server.username = "www-data"
server.groupname = "www-data" server.groupname = "www-data"
server.port = 80 server.port = 80
server.tag = ""
accesslog.filename = "/var/log/lighttpd/access.log" accesslog.filename = "/var/log/lighttpd/access.log"
accesslog.format = "%{%s}t|%V|%r|%s|%b" accesslog.format = "%{%s}t|%V|%r|%s|%b"

View file

@ -34,6 +34,7 @@ server.pid-file = "/run/lighttpd.pid"
server.username = "lighttpd" server.username = "lighttpd"
server.groupname = "lighttpd" server.groupname = "lighttpd"
server.port = 80 server.port = 80
server.tag = ""
accesslog.filename = "/var/log/lighttpd/access.log" accesslog.filename = "/var/log/lighttpd/access.log"
accesslog.format = "%{%s}t|%V|%r|%s|%b" accesslog.format = "%{%s}t|%V|%r|%s|%b"