<div dir="ltr">hello,<div><br></div><div>Just encounter this issue on the latest version of nginx 1.22.0.</div><div>Basically i added the "proxy_read_timeout 600s;" in a server directive and run "nginx -s reload".</div><div>I was getting still "upstream timed out (110: Connection timed out) while reading response header from upstream, client: " after 60 seconds which is the default value.</div><div>Than i said, let's restart the whole service with systemctl restart nginx and it worked..no more upstream timeout.</div><div><br></div><div>the whole config file:</div><div>----------------------------</div><div>server {<br>            server_name <a href="http://blablaerp.com">blablaerp.com</a>;<br>           <br>               # modsecurity on;      <br>                               <br>             client_max_body_size 100M;<br>            location / {<br>                  proxy_pass <a href="https://172.20.14.172:443">https://172.20.14.172:443</a>;                     <br>                      proxy_read_timeout 600s;<br>                      <br>                      proxy_http_version 1.1;<br>                       proxy_set_header Upgrade $http_upgrade;<br>                       proxy_set_header Connection "Upgrade";<br>                      proxy_set_header Host $host;<br>          }<br>     <br>           error_log  /var/log/nginx/bcamprod_Errnginx.log;<br>             access_log /var/log/nginx/bcamprod_Accessnginx.log;<br><br>         listen 443 ssl; # managed by Certbot<br>    ssl_certificate /etc/letsencrypt/live/<a href="http://blablaerp.com/fullchain.pem">blablaerp.com/fullchain.pem</a>; # managed by Certbot<br>    ssl_certificate_key /etc/letsencrypt/live/<a href="http://blablaerp.com/privkey.pem">blablaerp.com/privkey.pem</a>; # managed by Certbot<br>              include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot<br>         ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot<br><br>    add_header X-Robots-Tag "noindex, nofollow, nosnippet, noarchive";<br>     #add_header X-Robots-Tag "all";<br>}<br></div></div>