perma redirect

This commit is contained in:
Karol Wypchlo 2020-12-18 12:59:15 +01:00
parent f52b648c5b
commit bd70a76af1
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ server {
rewrite ^/portals /skynet/portals permanent; rewrite ^/portals /skynet/portals permanent;
rewrite ^/stats /skynet/stats permanent; rewrite ^/stats /skynet/stats permanent;
rewrite ^/skynet/blacklist /skynet/blocklist permanent; rewrite ^/skynet/blacklist /skynet/blocklist permanent;
rewrite ^/secure/(.*) https://secure.$domain.$tld/$1; rewrite ^/secure/(.*) https://secure.$domain.$tld/$1 permanent;
location / { location / {
# This is only safe workaround to reroute based on some conditions # This is only safe workaround to reroute based on some conditions