-
Hello!
I use nginx lua to anti-theft. Its process is verifying url and calling ngx.location.capture (subrequest).
But After I deploy nginx and lua to my server and start nginx, nginx will core d…
-
```
Ubuntu18
openresty/1.15.8.1
```
nginx.conf
```
http {
tcp_nopush on;
keepalive_timeout 65;
lua_socket_log_errors off;
server {
listen 28002 reus…
-
im making a reverce proxy with OpenResty,
wrote stream directive as below,
and then, i want to add a life time limit for each session like 1 hour max, 1min max ...
ChatGPT said to me 'ngx.exit() s…
-
Currently, we patch OpenResty to add a flag which detects the change of headers:
https://github.com/api7/apisix-nginx-module/blob/main/patch/1.21.4/ngx_lua-request_header_set.patch
We should do th…
-
We have an async mysql connection https://github.com/rryqszq4/ngx_php7/blob/master/t/lib/mysql.php
But the biggest cost is the time connecting via TCP to the db.
Any persistent app use a pool of…
-
With this configuration
```
events {
worker_connections 1024;
}
http {
limit_req_zone $binary_remote_addr zone=req:100m rate=5r/s;
limit_req zone=req burst=25;
server{
list…
-
I've followed the guide here and built nginx 1.6.2 with this module included 3x. No errors, everything seems to build properly. When I try to launch nginx I get:
nginx: [emerg] unknown directive "r…
-
Hi Team, we are getting below error on Nginx Prod server; We have disabled the ngx_http_lua_module.so for now and Nginx started working; Also let us know why this error started all of a sudden and how…
-
In https://github.com/openresty/lua-resty-redis/blob/master/lib/resty/redis.lua#L27 there is a list of redis commands contains more than one hundred entries...
Well, why not use lazy generation inste…
-
### Issue title
The IP ranges i allowed bellow doesn't get whitelisted by the script !
I've tried to many times but still not working !
### Issue Description
### Versions:
- Browser(s):
- Ng…