Dynamic reverse proxy configuration

strongpapa nginx-forum at nginx.us
Fri Feb 17 08:00:59 UTC 2012


I recommend you use the ngx_lua module

here's some example (http://openresty.org/#DynamicRoutingBasedOnRedis)

you can change redis to ngx_lua's internal dict facility which is shared
between workers for speed. 

and write some location handler to accept outside configuration data and
save it in ngx_lua's dict.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,222519,222531#msg-222531



More information about the nginx mailing list