diff --git a/docker/nginx/conf.d/client.conf b/docker/nginx/conf.d/client.conf index 1a6b2f7d..7316f03b 100644 --- a/docker/nginx/conf.d/client.conf +++ b/docker/nginx/conf.d/client.conf @@ -343,7 +343,7 @@ server { ngx.req.set_header("SkynetMaxUploadSize", 1073741824) -- this block runs only when accounts are enabled - if os.getenv("ACCOUNTS_ENABLED", "0") == "0" then end + if os.getenv("ACCOUNTS_ENABLED", "0") == "0" then return end -- fetch account limits and set max upload size accordingly local res = ngx.location.capture("/accounts/user/limits", { copy_all_vars = true })