Its fixed elgreco Wrote: ------------------------------------------------------- > I setup an upstream configuration with only one > server for now, i will add a new one in a while. > > im experiencing a strange error now and then when > users are uploading files to a form they get > sometimes in the browser ERROR 502 bad gateway > and on nginx error logs i geby elgreco - Nginx Mailing List - English
i added: proxy_connect_timeout 180; proxy_send_timeout 180; proxy_read_timeout 180; and i see less { (110: Connection timed out) while reading response header from upstream, } errors. can i do something more to get rid of the timeouts?by elgreco - Nginx Mailing List - English
I forgot to attach the nginx.conf gile gzip on; gzip_disable "msie6"; # gzip_vary on; # gzip_proxied any; gzip_comp_level 6; gzip_buffers 16 8k; gzip_http_version 1.1; gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;by elgreco - Nginx Mailing List - English
I setup an upstream configuration with only one server for now, i will add a new one in a while. im experiencing a strange error now and then when users are uploading files to a form they get sometimes in the browser ERROR 502 bad gateway and on nginx error logs i get 2011/01/10 08:07:31 28135#0: *606977 upstream timed out (110: Connection timed out) while reading response header from uby elgreco - Nginx Mailing List - English
Great tip! thanks a lot!by elgreco - Nginx Mailing List - English
hi! is there a way to see how many requests load balance upstream serves to specific hosts? thanksby elgreco - Nginx Mailing List - English
hi! You are great! The problem was that i was missing the right virtualhost ServerName www.domain.local name in the apache's conf file. I was thinking that nginx is sending proxy headers internally using the server name listed in the upstream server list. thanksby elgreco - Nginx Mailing List - English
I dont know if i can ask in the same topic my question... i have a upstream of two servers which responds on host headers only (apache virtualhost's) when i try to open the www.server.local (which is nginx frontend) i get only default web pages from backends and not the web1 or web2 what should i do to fix the problem ? upstream backend { server web1.local.com:80;by elgreco - Nginx Mailing List - English