Disable sending headers on http

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2025-01-03 06:24:19 -07:00 committed by GitHub
parent c809ef29b2
commit 2e584825ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,7 +4,10 @@ server {
include snippets/universal_paths.conf;
# Don't send headers
add_header "" "";
location / {
return 308 https://$host$request_uri;
}
}
}