diff --git a/docker/nginx/conf.d/client.conf b/docker/nginx/conf.d/client.conf index 48d5037e..3c20dd13 100644 --- a/docker/nginx/conf.d/client.conf +++ b/docker/nginx/conf.d/client.conf @@ -332,7 +332,7 @@ server { # rewrite proxy request to use correct host uri from env variable (required to return correct location header) set_by_lua $SKYNET_SERVER_API 'return os.getenv("SKYNET_SERVER_API")'; - proxy_rewrite https://siad $SKYNET_SERVER_API; + proxy_redirect https://siad $SKYNET_SERVER_API; # proxy /skynet/tus requests to siad endpoint with all arguments proxy_pass http://siad;