Forward request after operation with worker?

2015-11-17 Thread Stephane Wirtel
Hi, With a request, is it possible to redirect to a running worker and if this one is not running, just enable it. I explain, I would like to implement a reverse proxy with Lua and OpenResty and Redis. Redis will store a mapping between the hostname and a tuple (ip of the worker:port). But the

Processing of proxied requests

2015-11-17 Thread Joó Ádám
Hi, Can someone please tell me how much processing Nginx does on incoming requests before proxying? If I would use Nginx merely for TLS termination, how different would be the TCP stream arriving to the backend compared to the original TLS payload? Thank you, Ádám __

Re: Nginx failing to ask for PEM SSL key password

2015-11-17 Thread Richard Stanway
Running nginx directly works fine because nginx can see and use your terminal. (Re)starting nginx through systemd does not, because systemd doesn't provide a terminal (nor would your input reach it). See https://trac.nginx.org/nginx/ticket/433 On Tue, Nov 17, 2015 at 9:13 PM, lakarjail wrote: >

Nginx failing to ask for PEM SSL key password

2015-11-17 Thread lakarjail
== CONTEXT == nginx version: nginx/1.6.2 Linux - 2.6.32-042stab111.11 #1 SMP Tue Sep 1 18:19:12 MSK 2015 x86_64 GNU/Linux While starting/restarting nginx with "service nginx start", no password is asked on the terminal and nginx fails to start. By checking journalctl, I receive the following er

Re: nginx-1.9.7

2015-11-17 Thread Maxim Dounin
Hello! On Tue, Nov 17, 2015 at 10:20:33AM -0800, Frank Liu wrote: > How do I get the original client port? Do we need another new feature like > $realip_remote_port? No way as of now. If there is a good use case, we may consider adding something like $realip_remote_port. -- Maxim Dounin http

Re: nginx-1.9.7

2015-11-17 Thread Frank Liu
Congrats on the new release and thanks for adding $realip_remote_addr new feature! How do I get the original client port? Do we need another new feature like $realip_remote_port? Frank On Tue, Nov 17, 2015 at 7:13 AM, Maxim Dounin wrote: > Changes with nginx 1.9.7

Re: nginx-1.9.7

2015-11-17 Thread Peter Portante
Great news! Installed and running on our site, nohostname works like a champ now. I now see "nginx" as the syslog "programname" in my queries. Thank you for such a quick turn-around! -peter On Tue, Nov 17, 2015 at 10:13 AM, Maxim Dounin wrote: > Changes with nginx 1.9.7

Re: [nginx-announce] nginx-1.9.7

2015-11-17 Thread Kevin Worthington
Hello Nginx users, Now available: Nginx 1.9.7 for Windows http://tiny.cc/nginxwin197 (32-bit and 64-bit versions) These versions are to support legacy users who are already using Cygwin based builds of Nginx. Officially supported native Windows binaries are at nginx.org. Announcements are also a

nginx-1.9.7

2015-11-17 Thread Maxim Dounin
Changes with nginx 1.9.7 17 Nov 2015 *) Feature: the "nohostname" parameter of logging to syslog. *) Feature: the "proxy_cache_convert_head" directive. *) Feature: the $realip_remote_addr in the ngx_http_realip_module. *) Bugfix: the "expi

Re: Absolute rather than relative times in expires directives

2015-11-17 Thread rgrraj
HI All The topic was the same one I was looking for. But we have specific idea of setting up the expire value. We need expires to be at every 2h hours at the same time to be on every 24hours, ie: midnight. Can you help me with how to configure the same with 2h as well as for midnight night. rea