diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2020-12-10 16:42:01 -0500 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2020-12-10 16:42:01 -0500 |
| commit | 7ea7282703fa54b1752a81799064de634693a7fb (patch) | |
| tree | 1e43028dd680f208661cc9015584493ab64aff95 /nginx | |
| parent | 92ffe8a5e7814f025f87814f8d1d67b57869fcef (diff) | |
add vanadium.app redirects
Diffstat (limited to 'nginx')
| -rw-r--r-- | nginx/nginx.conf | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 0c097b36..6f98215a 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -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; @@ -86,6 +86,18 @@ http { 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; server_name grapheneos.org; root /var/www/html; @@ -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; |
