diff options
Diffstat (limited to 'nginx')
| -rw-r--r-- | nginx/nginx.conf | 6 |
1 files changed, 6 insertions, 0 deletions
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; |
