Connection refused

Ricky Gutierrez xserverlinux at gmail.com
Tue May 15 16:22:14 UTC 2018


Any help?

El lun., 14 may. 2018 20:02, Ricky Gutierrez <xserverlinux at gmail.com>
escribió:

> hello list, I have a reverse proxy with nginx front end and I have the
> backend with nginx some applications in php7 with mariadb, reviewing
> the log I see a lot of errors like this:
>
> 2018/05/09 17:44:58 [error] 14633#14633: *1761 connect() failed (111:
> Connection refused) while connecting to upstream, client:
> 186.77.203.203, server: web.mydomain.com, request: "GET
> /imagenes/slide7.jpg HTTP/2.0", upstream:
> "http://192.168.11.7:80/imagenes/slide7.jpg", host:
> "www.mydomain.com", referrer: "https://www.mydomain.com/"
>
> 2018/05/09 17:45:09 [error] 14633#14633: *1761 connect() failed (111:
> Connection refused) while connecting to upstream, client:
> 186.77.203.203, server: web.mydomain.com, request: "GET
> /imagenes/slide8.jpg HTTP/2.0", upstream:
> "http://192.168.11.7:80/imagenes/slide8.jpg", host:
> "www.mydomain.com", referrer: "https://www.mydomain.com/"
>
> 2018/05/09 17:45:12 [error] 14633#14633: *1761 upstream prematurely
> closed connection while reading response header from upstream, client:
> 186.77.203.203, server: web.mydomain.com, request: "GET
> /imagenes/slide6.jpg HTTP/2.0", upstream:
> "http://192.168.11.7:80/imagenes/slide6.jpg", host:
> "www.mydomain.com", referrer: "https://www.mydomain.com/"
>
> I made a change according to this link on github, but I can not remove the
> error
>
> https://github.com/owncloud/client/issues/5706
>
> my config :
>
> proxy_http_version 1.1;
> proxy_set_header Connection "";
> proxy_set_header X-Real-IP  $remote_addr;
> proxy_set_header Host $host;
> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
> proxy_connect_timeout 900s;
> proxy_send_timeout 900s;
> proxy_read_timeout 900s;
> proxy_buffer_size 64k;
> proxy_buffers 16 32k;
> proxy_busy_buffers_size 64k;
> proxy_redirect off;
> proxy_request_buffering off;
> proxy_buffering off;
> proxy_pass http://backend1;
>
> regardss
>
> --
> rickygm
>
> http://gnuforever.homelinux.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20180515/5fcb9720/attachment.html>


More information about the nginx mailing list