Skip to content

Commit

Permalink
move mta-sts to mail server
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed Jun 21, 2023
1 parent ba3a4b3 commit 283f8fe
Showing 1 changed file with 1 addition and 24 deletions.
25 changes: 1 addition & 24 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 283f8fe

Please sign in to comment.