pseudo-streaming problem

2016-02-12 Thread maziar
i have compile nginx like this : nginx version: nginx/1.8.1 built by gcc 4.9.2 (Debian 4.9.2-10) built with OpenSSL 1.0.1k 8 Jan 2015 TLS SNI support enabled configure arguments: --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-fastcgi-

Re: Proxy domain rewrite using proxy_cookie_domain

2016-02-12 Thread Maxim Dounin
Hello! On Fri, Feb 12, 2016 at 02:22:20PM -0500, nitin wrote: > I want to rewrite domains in the cookie when NGIX is acting as reverse > proxy. I see that NGIX support this using proxy_cookie_domain module. > > But I am unable to find out where does it keep the original domain which is > being r

Re: Remove path prefix during proxy_pass

2016-02-12 Thread Maxim Dounin
Hello! On Fri, Feb 12, 2016 at 11:04:19PM +0530, Vignesh VR wrote: > Hi, > > I am trying to use Nginx as a reverse proxy and want to redirect to > different upstream servers based on the URL. Looking to use the path prefix > to distinguish the upstream servers to be used. But the issue is the pa

Error Log - 403 access logs

2016-02-12 Thread intercollector
We use our nginx error logs to monitor our system closely. Recently, we've been hit with a lot of requests with malicious intent, and thus have blocked their IPs using a "deny " directive. This has worked as expected, but unfortunately, our error logs are still flooded with "error" with "access f

Does nginx have a Routing API?

2016-02-12 Thread zharvey
I am trying to see if nginx (OSS, not commercial) can be used not only as a load balancer, but as a network router/switch in the event that I need to shut my app down and redirect traffic to a CDN/static page, etc. I was hoping to find a REST API that might allow me to configure routing rules on t

Proxy domain rewrite using proxy_cookie_domain

2016-02-12 Thread nitin
I want to rewrite domains in the cookie when NGIX is acting as reverse proxy. I see that NGIX support this using proxy_cookie_domain module. But I am unable to find out where does it keep the original domain which is being replaced? In my opinion NGIX would need the original domain to find out whe

Re: RE: nginx: [emerg] bind() to 0.0.0.0:80 failed (13: Permission denied)

2016-02-12 Thread smsmaddy1981
Any other feasibility to achieve restart of Nginx from user other than root? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,264319,264498#msg-264498 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Remove path prefix during proxy_pass

2016-02-12 Thread Vignesh VR
Hi, I am trying to use Nginx as a reverse proxy and want to redirect to different upstream servers based on the URL. Looking to use the path prefix to distinguish the upstream servers to be used. But the issue is the path prefix gets sent to the upstream server which I don't want to. For eg., thi