From bd70a76af18a8c9f777274385e261429e1d2ba8c Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Fri, 18 Dec 2020 12:59:15 +0100 Subject: [PATCH] perma redirect --- docker/nginx/conf.d/client.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/nginx/conf.d/client.conf b/docker/nginx/conf.d/client.conf index 92c0f70e..90c6c668 100644 --- a/docker/nginx/conf.d/client.conf +++ b/docker/nginx/conf.d/client.conf @@ -57,7 +57,7 @@ server { rewrite ^/portals /skynet/portals permanent; rewrite ^/stats /skynet/stats permanent; rewrite ^/skynet/blacklist /skynet/blocklist permanent; - rewrite ^/secure/(.*) https://secure.$domain.$tld/$1; + rewrite ^/secure/(.*) https://secure.$domain.$tld/$1 permanent; location / { # This is only safe workaround to reroute based on some conditions