From 9e1c1a731f43d9810b520a5e0e58cf861c791ca0 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Tue, 12 Mar 2024 02:57:34 -0400 Subject: [PATCH] add redirect for community rules forum thread --- nginx/nginx.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 0ddab41d..cd1fb5b4 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -287,6 +287,12 @@ http { return 301 https://discord.com/invite/grapheneos; } + 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; + } + location = /404 { internal; include snippets/security-headers.conf;