From 2e584825ffdeaf7fbc2bf6864ffb0c5ce80c16ce Mon Sep 17 00:00:00 2001 From: Tommy Date: Fri, 3 Jan 2025 06:24:19 -0700 Subject: [PATCH] Disable sending headers on http Signed-off-by: Tommy --- etc/nginx/conf.d/default.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/etc/nginx/conf.d/default.conf b/etc/nginx/conf.d/default.conf index 88e03b1..259bd93 100644 --- a/etc/nginx/conf.d/default.conf +++ b/etc/nginx/conf.d/default.conf @@ -4,7 +4,10 @@ server { include snippets/universal_paths.conf; + # Don't send headers + add_header "" ""; + location / { return 308 https://$host$request_uri; } -} \ No newline at end of file +}