diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 8627d7cbd..48acd9b3e 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; @@ -426,29 +426,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;