diff --git a/docker/nginx/conf.d/client.conf b/docker/nginx/conf.d/client.conf index 4d8a904b..a82601f5 100644 --- a/docker/nginx/conf.d/client.conf +++ b/docker/nginx/conf.d/client.conf @@ -54,9 +54,9 @@ server { client_max_body_size 128k; # legacy endpoint rewrite - rewrite /portals /skynet/portals permanent; - rewrite /stats /skynet/stats permanent; - rewrite /skynet/blacklist /skynet/blocklist permanent; + rewrite ^/portals /skynet/portals permanent; + rewrite ^/stats /skynet/stats permanent; + rewrite ^/skynet/blacklist /skynet/blocklist permanent; location / { # This is only safe workaround to reroute based on some conditions