From 39711a6085cfc89a28f5c86a1079b758426d4392 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Wed, 21 Jun 2023 14:32:40 -0400 Subject: [PATCH] move mta-sts.matrix.grapheneos.org to mail server --- nginx/nginx.conf | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 3df2665..97ba324 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -108,7 +108,7 @@ http { server { listen 80; listen [::]:80; - server_name matrix.grapheneos.org element.grapheneos.org mta-sts.matrix.grapheneos.org; + server_name matrix.grapheneos.org element.grapheneos.org; keepalive_timeout 0; @@ -197,29 +197,6 @@ http { } } - server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name mta-sts.matrix.grapheneos.org; - - root /srv/mta-sts; - - keepalive_timeout 0; - - include snippets/security-headers.conf; - add_header Cross-Origin-Resource-Policy "same-origin" always; - - location = / { - return 301 https://grapheneos.org/articles/grapheneos-servers; - } - - location = /.well-known/mta-sts.txt {} - - location / { - return 404; - } - } - server { listen unix:/run/nginx/status.sock;