diff --git a/nginx/nginx.conf b/nginx/nginx.conf index aef2064f..ee59b421 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -301,13 +301,13 @@ http { return 301 /history/copperheados; } - location = "/discord" { + location = /discord { include snippets/security-headers.conf; add_header Cache-Control "public, max-age=86400"; return 301 https://discord.com/invite/grapheneos; } - location = "/code-of-conduct" { + location = /code-of-conduct { include snippets/security-headers.conf; add_header Cache-Control "public, max-age=86400"; return 301 https://discuss.grapheneos.org/d/11-grapheneos-code-of-conduct;