Will this work?
--- ngx_http_upstream.c.orig 2016-03-29 15:09:31.0 +
+++ ngx_http_upstream.c 2016-04-02 05:28:17.877466756 +
@@ -3990,6 +3990,7 @@
timeout = u->conf->next_upstream_timeout;
if (u->request_sent
+&& (ft_type != NGX_HTTP_UPSTREAM_FT_HTTP_404)
Can you post a quick patch on how to exclude http_404?
Thanks!
Frank
On Tue, Mar 29, 2016 at 8:26 PM, Maxim Dounin wrote:
> Hello!
>
> On Tue, Mar 29, 2016 at 08:04:33PM -0700, Frank Liu wrote:
>
> > It's a custom error code, think of it as if http_404, so if the first
> > upstream can't handle
Hi,
If I set proxy_next_upstream_timeout to 50 second, will nginx break the
current upstream connection at 50 second and fail the request? Or will it
wait until current one finishes (or read timeout) then decide whether it
should try next upstream and find out it is already more than 50 so fail
th
Hi, as I tried to write in this thread
https://forum.nginx.org/read.php?2,265663,265688#msg-265688 I'm trying to
accomplish the same
But 1. did you get it to work 2. how did you form your link in the php
script?
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,228161,265810#msg-265810
Francis Daly Wrote:
---
> "Default" there means that if a server{} block does not have any
> listen directive, it is equivalent to "listen *:80" (or "listen *:8080"
if
> running as non-root).
>
> Your "letsencrypt" server{} block does not have an
On Fri, Apr 01, 2016 at 08:12:12AM +0100, Francis Daly wrote:
> On Fri, Apr 01, 2016 at 12:42:57AM -0400, plutocrat wrote:
One silly typo and thinko...
> http://nginx.org/r/listen
>
> "Default" there means that if a server{} block does not have any listen
> directive, it is equivalent to "listen
On Fri, Apr 01, 2016 at 12:42:57AM -0400, plutocrat wrote:
Hi there,
> There are no stray listen directives. I've checked many times.
> grep -ril listen /etc/nginx
> Shows only files in sites-enabled and sites-available directories.
> grep -i listen /etc/nginx/sites-enabled
> Shows only port 8