回复:Re: Issue about nginx removing the header "Connection" in HTTP response?

2017-03-02 Thread tjlp
Hi, What I mention is the header in response from backend server. Your answer about proxy_set_header is the "Connection" header in request. Thanks Liu Peng - 原始邮件 - 发件人:Aleksandar Lazic 收件人:nginx@nginx.org 抄送人:t...@sina.com 主题:Re: Issue about nginx removing the header "Connection" in HT

Re: Hiding PHP's WSOD with Nginx

2017-03-02 Thread c0nw0nk
You should view http://nginx.org/en/docs/http/ngx_http_fastcgi_module.html#fastcgi_catch_stderr Might be what you seek for a empty blank page output or specific text that would be a Fatal error etc. CJ Ess Wrote: --- > My employer uses Nginx in f

Hiding PHP's WSOD with Nginx

2017-03-02 Thread CJ Ess
My employer uses Nginx in front of PHP-FPM to generate their web content. They have PHP's error reporting shut off in production so when something does go wrong in their PHP scripts they end up with a "White Screen Of Death". From a protocol level the white screen of death is a 200 response with no

Re: NGINX - Reverse Proxy With Authentication at 2 Layers

2017-03-02 Thread Aleksandar Lazic
Hi. Am 01-03-2017 09:57, schrieb zaidahmd: ** Problem Background ** I have an application, say app-A, which is running on a private network unreachable by public network. Now a new requirement needs to deliver the webpages of app-A to external users over public network. As a solution to expo

Re: Issue about nginx removing the header "Connection" in HTTP response?

2017-03-02 Thread Aleksandar Lazic
Hi. Am 01-03-2017 08:29, schrieb t...@sina.com: Hi, nginx guy, In our system, for some special requests, the upstream server will return a response which the header includes "Connection: Close". According to HTTP protocol, "Connection" is one-hop header. So, nginx will remove this header and

Re: Balancing NGINX reverse proxy

2017-03-02 Thread Alex Samad
Hi if I am reading this right, you currently have too much load on 1 nginx server and you wish to releave this by adding another nginx server in front of it ? What I have is 2 nodes, but I use pacemaker instead of keepalive - i like it as a better solution - but thats for another thread. what yo

Re: MySQL Access w/ Nginx

2017-03-02 Thread itpp2012
With Lua you will find many examples how to interact (non-blocking) with mysql, Lua also contains a load balancer which can be adapted to loadbalance sql instances. See also https://www.google.nl/#q=nginx+lua+mysql Posted at Nginx Forum: https://forum.nginx.org/read.php?2,272718,272719#msg-27271

MySQL Access w/ Nginx

2017-03-02 Thread Paul Romero
Dear Nginx Community: Do you think NGinx is a viable and advisable solution for providing MySQL server access to my application ? The basic requirements and goals of the application are described below. Although, NGinx is classified as a Web Server which can act as a Reverse Proxy or Load Balanc

Re: AW: IPv6 upstream problem

2017-03-02 Thread Dewangga Bachrul Alam
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hello! Yes I've force my system to read IPv4 first. But, just curios, why IPv6 upstream can't serve the traffic? If I access the IP Address using browser, it's normal. I am using Cent OS 7. On 03/01/2017 09:04 PM, Lukas Tribus wrote: >> Did anyone

Balancing NGINX reverse proxy

2017-03-02 Thread polder_trash
Hi, I have been reading the documentation and also searching this forum for a while, but could not find an answer to my question. Currently, I have a 2 NGINX nodes acting as a reverse proxy (in a failover setup using keepalived). The revproxy injects an authentication header, for an online website

Re: One NGINX server to 2 backend servers

2017-03-02 Thread p0lak
Yes, you're right ! I forgot proxy_pass statement but do not know why I cannot set proxy_pass with the full path name as http://mysite/forum/index.html Proxy_pass statement redirect me to root of my virtualhost so http://mysite/ Posted at Nginx Forum: https://forum.nginx.org/read.php?2,272606,2