Could Nginx stream support FTP PASSIVE?

2015-12-02 Thread Felix HT1 Zhang
Dears, Could Nginx stream support FTP PASSIVE? #er nobody; worker_processes 4; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pidlogs/nginx.pid; events { worker_connections 1024; } stream { upstream port21 { server

Nginx node helth check

2015-12-02 Thread WANJUNE
Hi ! We currently use NginX as a L4 switch. We have 1 single Upstream VIP which has 2 real nodes of Apache web server. If all nodes under the VIP works fine, we always get normal response from the NginX whenever we try ping test from out of IDC. My question is that, if all nodes under the VIP went

Re: server_name within tcp server blocks

2015-12-02 Thread itpp2012
Richard Stanway Wrote: --- > TCP has no concept of server names, so this is not possible. It only > works > in HTTP because the client sends the hostname it is trying to access > as To put into better wording, The 'hostname' technique has 2 parts

Re: server_name within tcp server blocks

2015-12-02 Thread Richard Stanway
TCP has no concept of server names, so this is not possible. It only works in HTTP because the client sends the hostname it is trying to access as part of the request, allowing nginx to match it to a specific server block. On Wed, Dec 2, 2015 at 12:31 PM, Charles Nnamdi Akalugwu < cprenzb...@gmail

Re: Nginx Reverse proxy + RD Gateway Auth Problem

2015-12-02 Thread itpp2012
frederico Wrote: --- > Hi, > > I've tried a lot of commands, stream is not recognized and I don't > think it's possible to make it work. nginx need a certificate and RD > Gateway need also a certificate, so there are 2 SSL connection between > th

Re: Nginx Reverse proxy + RD Gateway Auth Problem

2015-12-02 Thread frederico
Hi, I've tried a lot of commands, stream is not recognized and I don't think it's possible to make it work. nginx need a certificate and RD Gateway need also a certificate, so there are 2 SSL connection between the client and the server, it's can't work. I also tried with the same certificate on

Re: nginx changes the hostname of proxy_pass into ip address unwantedly

2015-12-02 Thread Maxim Dounin
Hello! On Tue, Dec 01, 2015 at 08:42:43PM -0500, will...@gmail.com wrote: > I have configured nginx to use mod_zip to zip up multiple files. > > I also have configured nginx so that it proxies to s3 when our server gets a > request to /images. > > location /p/ { > proxy_pass http://bucket-n

Re: PHP and CGI on UserDir

2015-12-02 Thread Smart Goldman
Hi Francis, 2015-12-02 5:50 GMT+09:00 Francis Daly : > On Wed, Dec 02, 2015 at 01:52:06AM +0900, Smart Goldman wrote: >> 2015-11-29 20:10 GMT+09:00 Francis Daly : >> > On Sun, Nov 29, 2015 at 05:04:50PM +0900, Smart Goldman wrote: > > Hi there, > >> location ~ ^/~(.+?)(/.*)?\.(php)$ { >>

server_name within tcp server blocks

2015-12-02 Thread Charles Nnamdi Akalugwu
Hi guys, I have the following tcp server block in my nginx.conf stream { upstream kafka_producer { server kafka.service.consul:9092; } server { listen 9092; server_name kafka.stream.mycompany.com; proxy_connect_timeout 10s; proxy_timeout 30s;