stop redirecting the entire vanadium.app domain
This commit is contained in:
parent
962c063233
commit
26d90ef5d6
@ -167,16 +167,36 @@ http {
|
|||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
listen [::]:443 ssl http2;
|
listen [::]:443 ssl http2;
|
||||||
server_name vanadium.app www.vanadium.app;
|
server_name www.vanadium.app;
|
||||||
|
|
||||||
keepalive_timeout 3m;
|
keepalive_timeout 3m;
|
||||||
|
|
||||||
include snippets/security-headers.conf;
|
include snippets/security-headers.conf;
|
||||||
add_header Cross-Origin-Resource-Policy "same-origin" always;
|
add_header Cross-Origin-Resource-Policy "same-origin" always;
|
||||||
|
|
||||||
|
# https://trac.nginx.org/nginx/ticket/2012
|
||||||
location / {
|
location / {
|
||||||
|
return 301 https://vanadium.app$request_uri;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 443 ssl http2;
|
||||||
|
listen [::]:443 ssl http2;
|
||||||
|
server_name vanadium.app;
|
||||||
|
|
||||||
|
keepalive_timeout 3m;
|
||||||
|
|
||||||
|
include snippets/security-headers.conf;
|
||||||
|
add_header Cross-Origin-Resource-Policy "same-origin" always;
|
||||||
|
|
||||||
|
location = / {
|
||||||
return 301 https://grapheneos.org/features#vanadium;
|
return 301 https://grapheneos.org/features#vanadium;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location / {
|
||||||
|
return 404;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user