We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4afdffc commit d4340efCopy full SHA for d4340ef
files/nginx.conf
@@ -18,7 +18,7 @@ http {
18
# this is necessary for us to be able to disable request buffering in all cases
19
proxy_http_version 1.1;
20
21
- lua_shared_dict token_dict 5m;
+ lua_shared_dict token_dict 1m;
22
23
# will run before forking out nginx worker processes
24
init_by_lua_block {
@@ -29,6 +29,8 @@ http {
29
local data = token_file:read()
30
ngx.shared.token_dict:set("ecr_token", data)
31
token_file:close()
32
+ else
33
+ ngx.log(ngx.ERR, "Failed to open token file: /usr/local/openresty/nginx/token.txt")
34
end
35
}
36
0 commit comments