diff options
| author | Daniel Micay <daniel.micay@grapheneos.org> | 2023-06-21 14:50:34 -0400 |
|---|---|---|
| committer | Daniel Micay <daniel.micay@grapheneos.org> | 2023-06-21 14:57:31 -0400 |
| commit | 8972cabb0f175cb286af49900dc2081acbae7223 (patch) | |
| tree | cb943ee187b59f4bc454acb782839b27dfd610fe /nginx | |
| parent | 538220c8b58a8eb2c1f5edcc851963a9aab96095 (diff) | |
move mta-sts to mail server
Diffstat (limited to 'nginx')
| -rw-r--r-- | nginx/nginx.conf | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 8627d7cb..48acd9b3 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -113,7 +113,7 @@ http { server { listen 80; listen [::]:80; - server_name grapheneos.org mta-sts.grapheneos.org www.grapheneos.org grapheneos.app mta-sts.grapheneos.app www.grapheneos.app grapheneos.ca mta-sts.grapheneos.ca www.grapheneos.ca grapheneos.com mta-sts.grapheneos.com www.grapheneos.com grapheneos.dev mta-sts.grapheneos.dev www.grapheneos.dev grapheneos.info mta-sts.grapheneos.info www.grapheneos.info grapheneos.net mta-sts.grapheneos.net www.grapheneos.net grapheneos.ovh mta-sts.grapheneos.ovh www.grapheneos.ovh grapheneos.page mta-sts.grapheneos.page www.grapheneos.page vanadium.app mta-sts.vanadium.app www.vanadium.app; + server_name grapheneos.org www.grapheneos.org grapheneos.app www.grapheneos.app grapheneos.ca www.grapheneos.ca grapheneos.com www.grapheneos.com grapheneos.dev www.grapheneos.dev grapheneos.info www.grapheneos.info grapheneos.net www.grapheneos.net grapheneos.ovh www.grapheneos.ovh grapheneos.page www.grapheneos.page vanadium.app www.vanadium.app; keepalive_timeout 0; @@ -427,29 +427,6 @@ http { } server { - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name mta-sts.grapheneos.org mta-sts.grapheneos.app mta-sts.grapheneos.ca mta-sts.grapheneos.com mta-sts.grapheneos.dev mta-sts.grapheneos.info mta-sts.grapheneos.net mta-sts.grapheneos.ovh mta-sts.grapheneos.page mta-sts.vanadium.app; - - 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; access_log off; |
