diff --git a/docker/nginx/conf.d/client.conf b/docker/nginx/conf.d/client.conf index eb388469..5bb1cc31 100644 --- a/docker/nginx/conf.d/client.conf +++ b/docker/nginx/conf.d/client.conf @@ -472,7 +472,7 @@ server { return ngx.say(json.encode{authenticated = false}) end - local res = ngx.location.capture("/accounts/user/limits", { copy_all_vars = true }) + local res = ngx.location.capture("/accounts/user", { copy_all_vars = true }) if res.status == ngx.HTTP_OK then local limits = json.decode(res.body) return ngx.say(json.encode{authenticated = limits.tier > 0})