diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 55a70d97..7f6ccae2 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -281,7 +281,9 @@ http { } location = "/discord" { - return 302 https://discord.com/invite/grapheneos; + include snippets/security-headers.conf; + add_header Cache-Control "public, max-age=86400"; + return 301 https://discord.com/invite/grapheneos; } location = /404 {