diff --git a/docker/nginx/conf.d/client.conf b/docker/nginx/conf.d/client.conf index 18244968..30887570 100644 --- a/docker/nginx/conf.d/client.conf +++ b/docker/nginx/conf.d/client.conf @@ -335,7 +335,8 @@ server { # rewrite tus headers to use correct uri from env variable set_by_lua $SKYNET_SERVER_API 'return os.getenv("SKYNET_SERVER_API")'; - proxy_redirect https://siad $SKYNET_SERVER_API; + # proxy_redirect https://siad $SKYNET_SERVER_API; + proxy_set_header Host $SKYNET_SERVER_API; # extract skylink from base64 encoded upload metadata and assign to a proper header header_filter_by_lua_block {