Add ta180m to a redirect

This commit is contained in:
Anthony Wang 2022-09-05 15:43:27 -05:00
parent 1d0d3a129c
commit 4a9cdf3224
Signed by untrusted user: a
GPG Key ID: 42A5B952E6DD8D38
2 changed files with 11 additions and 1 deletions

View File

@ -15,7 +15,6 @@ server {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}

11
redirect.conf Normal file
View File

@ -0,0 +1,11 @@
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name ta180m.exozy.me;
include conf.d/ssl;
location / {
return 301 https://a.exozy.me$request_uri;
}
}