Help required in Setting up FTP Load Balancer in NGINX-

2014-01-20 Thread tilde...@gmail.com
I required help to configure FTP Load balancer in NGINX. Can you all please help me with the necessary steps or any link which explains the same. Note: My incoming FTP request will come in FTP protocol only. We cannot configure FTP –over HTTP in our application’ if NGINX is not supporting can

Issue with multipart response compression.

2014-01-20 Thread Makailol Charls
Hello I use Nginx/1.4.4 as a reverse proxy and my backend webserver generates multipart response with some dynamic boundary. I use nginx gzip module to send compress data to the client but it is unable to compress this multipart response which contains dynamic boundary in content_type. If I use

imap proxy limited to about 210 connections

2014-01-20 Thread bidwell
I have nginx proxying imap and pop between 3 different backend servers, but it seems to be limited to about 210 concurrent connections. Requests beyond this get a connection timed out. I tried adding more worker processes but that didn't do anything. I have multi_accept on and have raised the nu

Re: Decompressing a compressed response from upstream, applying transformations and then compressing for downstream again

2014-01-20 Thread B.R.
Jonathan idea looks like a nice solution, because there is no modification of original nginx (good for updates and maintenance thus good for security). Always avoid breaking the update chain (thus diverting from original source, unless having another repository being reactive to - security - update

Re: Decompressing a compressed response from upstream, applying transformations and then compressing for downstream again

2014-01-20 Thread Jonathan Matthews
On 20 January 2014 14:34, Makailol Charls wrote: > Hello Maxim, > > Would you suggest the code change to achieve this? Instead of forking your own incompatible nginx version, I'd be tempted to test this out: Turn gzip on. Always remove the Accept-Encoding header from the proxied request. Perform

Re: Decompressing a compressed response from upstream, applying transformations and then compressing for downstream again

2014-01-20 Thread Makailol Charls
Hello Maxim, Would you suggest the code change to achieve this? Thanks, Makailol On Mon, Jan 20, 2014 at 7:18 PM, Maxim Dounin wrote: > Hello! > > On Mon, Jan 20, 2014 at 09:40:30PM +0800, Rv Rv wrote: > > > Hello > > Is there a way we can achieve the following when nginx is acting > > as a r

Re: Decompressing a compressed response from upstream, applying transformations and then compressing for downstream again

2014-01-20 Thread Maxim Dounin
Hello! On Mon, Jan 20, 2014 at 09:40:30PM +0800, Rv Rv wrote: > Hello > Is there a way we can achieve the following when nginx is acting > as a reverse proxy > 1. Client sends HTTP request with Accept-Encoding as gzip > 2. Nginx proxy forwards the request with the request > he

Decompressing a compressed response from upstream, applying transformations and then compressing for downstream again

2014-01-20 Thread Rv Rv
Hello Is there a way we can achieve the following when nginx is acting as a reverse proxy 1. Client sends HTTP request with Accept-Encoding as gzip 2. Nginx proxy forwards the request with the request header intact 3. Origin server sends a compressed response 4. At

Re: How to define dynamic proxy_cache_path directory.

2014-01-20 Thread Maxim Dounin
Hello! On Mon, Jan 20, 2014 at 02:14:26PM +0530, Makailol Charls wrote: > Hello, > > I use Nginx/1.4.4 as a reverse proxy caching server for multiple sites. So > far I have been using same proxy_cache_path for all sites. Now I want to > use separate cache path for all sites. > > Is there anyway

Re: "ssl_session_cache" not working on windows Version

2014-01-20 Thread Ruslan Ermilov
On Mon, Jan 20, 2014 at 12:18:53PM +0100, basti wrote: > Hello, > I have an nginx in front of an Windows IIS to delete some headers send > my IIS from proprietary application. > Now I try to use the following parameter on nginx running on windows: > > # SSL session cache > #ssl_session_cache share

"ssl_session_cache" not working on windows Version

2014-01-20 Thread basti
Hello, I have an nginx in front of an Windows IIS to delete some headers send my IIS from proprietary application. Now I try to use the following parameter on nginx running on windows: # SSL session cache #ssl_session_cache shared:SSL:10m; # a 1mb cache can hold about 4000 sessions, so we can hold

How to define dynamic proxy_cache_path directory.

2014-01-20 Thread Makailol Charls
Hello, I use Nginx/1.4.4 as a reverse proxy caching server for multiple sites. So far I have been using same proxy_cache_path for all sites. Now I want to use separate cache path for all sites. Is there anyway to make proxy_cache_path dynamic i.e. using some variable in proxy_cache_path like $hos

Re: duplicate Vary: Accept-Encoding header

2014-01-20 Thread Makailol Charls
I have just noticed this header duplication but I could not notice any issue yet. But I believe, gzip_vary should do nothing if the header is already present. And it seems like a bug in core header_filter_module . Makailol On Mon, Jan 20, 2014 at 1:11 PM, Jonathan Matthews wrote: > On 20 Janua