by hn92726819 · 3y ago · 0 comments
Server: caddy
Header that is impossible to turn off since it's hardcoded here: https://github.com/caddyserver/caddy/blob/master/modules/cad...The developer's annoying response is "it doesnt improve privacy or security, so we won't give you the option to remove it".
With Caddy, you just need:
header -Server
in your config. header -Server
However as this isn't global configuration it'll tend to pop back up in implicit configs like HTTP redirects and error handling if not overridden.