Re: [emerg] unknown directive "rewrite_by_lua_file" in /usr/local/nginx

2017-10-25 Thread helenaut
Hi Joel, maybe you need the "lua-nginx-module"? https://github.com/openresty/lua-nginx-module#rewrite_by_lua_file Posted at Nginx Forum: https://forum.nginx.org/read.php?2,277065,277067#msg-277067 ___ nginx mailing list nginx@nginx.org http://mailman.n

[emerg] unknown directive "rewrite_by_lua_file" in /usr/local/nginx

2017-10-25 Thread Joel Parker
I have configured nginx-1.9.2 to evaluate a third party module and configure the source like this: ./configure --add-module=../ngx_http_proxy_connect_module-master/ --add-module=../lua-5.1.4/ --with-http_ssl_module After compiling the version shows what I configured: # nginx -V nginx version: n

Tool to help build nginx with different modules and dependencies

2017-10-25 Thread Jay Caines-Gooby
Recently, I've had to build a variety of different versions of nginx with different combinations of core modules and third-party modules, so I wrote https://github.com/jaygooby/build-nginx to make it as easy as possible; e.g. ./build-nginx \ -n https://github.com/nginx/nginx.git@release-1.12.2 \ -

Can I update a custom dynamic module after the NGINX binary has been compiled?

2017-10-25 Thread Helen Weng
Hello! Early last year, dynamic modules were released. In the notes, it was mentioned that eventually "the ability to compile modules after the NGINX binary has been compiled" would be added. I was wondering if this has been added yet, and if so, which version? Thank you!

Cookie renaming per server

2017-10-25 Thread jlange
I am looking for a way to rename a cookie in a Set-Cookie header on a per-server basis. Each server that I'm proxying generates a "Set-Cookie: sessionid=xx" header. I would like to create some sort of rule that would rename that cookie "sessionid_xyz=xx" when sending to the client, then re

Re: need help

2017-10-25 Thread A. Schulze
Am 25.10.2017 um 17:30 schrieb Gregory Edigarov: > hello, > > I have an app under /var/www/admin/dist: > > index.html > > bundle.js > > static/ > > and a bunch of files under static/ > >  i need nginx to get these files  when I access https://somesite.net/admin/, > not files from /admin. >

need help

2017-10-25 Thread Gregory Edigarov
hello, I have an app under /var/www/admin/dist: index.html bundle.js static/ and a bunch of files under static/  i need nginx to get these files  when I access https://somesite.net/admin/, not files from /admin. is that possible? thanks. ___ n

nginx load-balancing latency problem

2017-10-25 Thread Kiss Norbert
Hi Everyone I would like to ask a little help to understand and refine my config. The basic problem: We have 2 nginx frontend on a same site (only for backup and sandbox the secound). We have 2 graylog backend servers on different sites. The nginx servers and SERVER_B is on the same site. The Ngi