add vanadium.app redirects

This commit is contained in:
Daniel Micay 2020-12-10 16:42:01 -05:00
parent 92ffe8a5e7
commit 7ea7282703

View File

@ -64,7 +64,7 @@ http {
server {
listen 80;
listen [::]:80;
server_name www.grapheneos.org grapheneos.org www.grapheneos.app grapheneos.app;
server_name www.grapheneos.org grapheneos.org www.grapheneos.app grapheneos.app www.vanadium.app vanadium.app;
root /var/empty;
@ -83,6 +83,18 @@ http {
return 301 https://grapheneos.org$request_uri;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name www.vanadium.app vanadium.app;
root /var/empty;
include /etc/nginx/snippets/security-headers.conf;
return 301 https://github.com/GrapheneOS/Vanadium;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
@ -191,7 +203,7 @@ http {
server {
listen 80;
listen [::]:80;
server_name mta-sts.grapheneos.org mta-sts.mail.grapheneos.org mta-sts.grapheneos.app;
server_name mta-sts.grapheneos.org mta-sts.mail.grapheneos.org mta-sts.grapheneos.app mta-sts.vanadium.app;
root /var/empty;
@ -201,7 +213,7 @@ http {
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name mta-sts.grapheneos.org mta-sts.mail.grapheneos.org mta-sts.grapheneos.app;
server_name mta-sts.grapheneos.org mta-sts.mail.grapheneos.org mta-sts.grapheneos.app mta-sts.vanadium.app;
root /var/www/mta-sts;