Re: Access logs hang

2014-10-08 Thread B.R.
>From what you explain, that problem most probably come from the way you actually do the log rotation. I first suggest you read how nginx handle it on the nginx control docs . It seems nginx is not able to find your old log file when you moved the old on

Re: Combine location blocks with same content

2014-10-08 Thread B.R.
I am glad to read that things are working out :o) --- *B. R.* On Thu, Oct 9, 2014 at 2:35 AM, Lorenzo Raffio wrote: > Thanks B.R., it works now. :-) > > > ___ > nginx mailing list > nginx@nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx > _

Re: Reverse TLS proxy

2014-10-08 Thread Payam Chychi
ip.forwarding on? On 2014-10-08, 2:21 PM, pharasyte wrote: Hello, Which distro are you using? The first thing that comes to mind with this type of issue is that Selinux is enabled and blocking nginx from making connections to the upstream. You can test if this is the case by turning Selinux of

Re: Combine location blocks with same content

2014-10-08 Thread Lorenzo Raffio
Thanks B.R., it works now. :-)___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Access logs hang

2014-10-08 Thread Lorenzo Raffio
>From time to time access logs (for which I don't have a logrotation and >manually rotate them) just "hang" and no lines are written. Same file and >folder. No change in Nginx config! And the fact seems totally random, it's not >related to file size, it happens to files some kilobytes long, and

Re: Reverse TLS proxy

2014-10-08 Thread pharasyte
Hello, Which distro are you using? The first thing that comes to mind with this type of issue is that Selinux is enabled and blocking nginx from making connections to the upstream. You can test if this is the case by turning Selinux off and seeing if that resolves the issue. This of course only

Replacing part of a url string

2014-10-08 Thread Rattyshack
Hello nginx users.  I am looking to  match and replace part of a URI. Given incoming ur

Re: proxy_hide_header question

2014-10-08 Thread keeyong
Thanks. That was it! Posted at Nginx Forum: http://forum.nginx.org/read.php?2,253819,253843#msg-253843 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Reverse TLS proxy

2014-10-08 Thread paucorre
Hi all, I very new to NGINX, but thought that it might be the best tool to achieve a reverse proxy ( in the DMZ ) for an internal HTTPS server. Unfortunately it isn't working and I get 502 Bad Gateway message if I check in the error Log I see : 2014/10/07 17:38:27 [crit] 2606#0: *1 connect() to

Re: proxy_hide_header question

2014-10-08 Thread Francis Daly
On Tue, Oct 07, 2014 at 10:42:28PM -0400, keeyong wrote: Hi there, > I am using nginx as a reverse proxy and am trying to log some variables set > by apache to nginx log. So certain HTTP response headers are set by apache > (PHP) and then I log them successfully with $sent_http_* variables. $sen