From 3297cc0f881f1c182aa07052a41a7237f454b515 Mon Sep 17 00:00:00 2001 From: Ivaylo Novakov Date: Mon, 14 Mar 2022 18:27:45 +0100 Subject: [PATCH] get limits --- docker/nginx/conf.d/include/location-skylink | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/nginx/conf.d/include/location-skylink b/docker/nginx/conf.d/include/location-skylink index 88203c7d..bcd74e55 100644 --- a/docker/nginx/conf.d/include/location-skylink +++ b/docker/nginx/conf.d/include/location-skylink @@ -37,8 +37,8 @@ access_by_lua_block { return accounts.exit_access_forbidden() end --- -- get account limits of currently authenticated user --- local limits = accounts.get_account_limits() + -- get account limits of currently authenticated user + local limits = accounts.get_account_limits() -- -- apply download speed limit -- ngx.var.limit_rate = limits.download