src.nth.io/

summaryrefslogtreecommitdiff
path: root/goaccess/tasks
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2026-08-10 09:36:28 -0500
committerLuke Hoersten <[email protected]>2026-08-10 09:37:37 -0500
commit3610744c6a2324cbffeb49bd2e8a2b7c58a2e9e6 (patch)
treed5c606a3a0d71f8b2a89d9752011b4eb1440ce5e /goaccess/tasks
parent5ec681720eed1dde9f356d58cff6305b9620629c (diff)
nginx: add catch-all default_server returning 404 for unmatched hostsHEADmain
Without an explicit default_server, nginx falls back to the first alphabetically-loaded vhost for any request whose Host or SNI matches no server_name. Add an explicit catch-all that returns a plain 404 over HTTP and rejects the TLS handshake (ssl_reject_handshake, nginx >= 1.19.4) so unmatched HTTPS requests are not served a mismatched cert.
Diffstat (limited to 'goaccess/tasks')
0 files changed, 0 insertions, 0 deletions