Skip to content

Commit

Permalink
move mta-sts.matrix.grapheneos.org to mail server
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed Jun 21, 2023
1 parent 7b897e0 commit 39711a6
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 @@ -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;

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

Expand Down

0 comments on commit 39711a6

Please sign in to comment.