> > This server is behind a cisco firewall with port 8080 open. Where is > the > problem? > > The line: > > proxy_pass http://$http_host$uri$is_args$args; > > has problem with firewalls? or it is something else? > are you able to connect to $http_host from that second server, maybe via lynx/w3m? $ telnet $http_host 8080 and then GET /by mex - Nginx Mailing List - English
ok,your config is a little confused. in your @ruby - part you should proxy_pass to your unicorn - server proxy_pass http://unicorn_server; (thats why you put your definition there :) ------------------------------------------------------- > OK, so I've gone through the documentation on the Nginx wiki, and I > still only have a minimal grasp on how to configure the itby mex - Nginx Mailing List - English
are you talking about SNI? http://de.wikipedia.org/wiki/Server_Name_Indication nginx can handle this http://nginx.org/en/docs/http/configuring_https_servers.html#sniby mex - Nginx Mailing List - English
nice tutorial! didnt you found anything approbiate here? http://wiki.nginx.org/Configuration regards, mexby mex - Nginx Mailing List - English
did you resolved your problems? i must admit, i did not understood what your problems where. moke110007 Wrote: ------------------------------------------------------- > Nobody reply. > Tested,iphash and weight,support balance. > Over.by mex - Nginx Mailing List - English
> Can I set proxy_read_timeout for only a particular location which is > passed to apache? > http://wiki.nginx.org/HttpProxyModule#proxy_read_timeoutby mex - Nginx Mailing List - English
Joseph O. Wrote: ------------------------------------------------------- ok, first make sure your railsapp is loading as expected and working w/out nginx in front; you can check it from that machine using w3m/lynx or telnet. if this works we'll check the nginx-part. > *sigh* Clearly I am missing something here, as the only nginx.conf > file > I have is the one I posted lastby mex - Nginx Mailing List - English
your nginx-conf please that points to your upstream <and defines your listening server {} :)by mex - Nginx Mailing List - English
Joseph O. Wrote: ------------------------------------------------------- > Ah, thank you. Removing the site configuration file did fix the > gateway > error, but now the server is still pointing at the default Nginx > welcome > page. Can you (or anyone else here) give me any advice on how to get > the > server to point to my actual service? proxy_pass should do theby mex - Nginx Mailing List - English
> > Yes, the stub one is quite limited. We've been working on a much > better version, which is going to appear soon. > any more info on this topic yet?by mex - Nginx Mailing List - English
maybe this helps as a start: http://stackoverflow.com/questions/5840497/convert-htaccess-to-nginx and you may want to read http://wiki.nginx.org/HttpCoreModule#location http://wiki.nginx.org/HttpRewriteModule since usage and order-of-procerssing is quite a little different regards, mexby mex - Nginx Mailing List - English
looks like a recursion to me, no? you point your nginx.conf to proxy_pass to http://www.masterjoestoybox.net/ and then you define with your mjtb a config that listens to www.masterjoestoybox.net and proxy_passes to http://www.masterjoestoybox.net/ and you configure a upstream unicorn_server in your nginx.conf but never use it? maybe you can throw away the mjtb - config btw, httpby mex - Nginx Mailing List - English
now you **only** need to find the bootleneck :) maybe its better to run ab from a machine in the same network instead of running on the same machine, esp. with one core. Rakan Alhneiti Wrote: ------------------------------------------------------- > Hello, > > Thank you all for your support. > > *Mex: * > *1) is the setup of your vmware similar to youby mex - Nginx Mailing List - English
hello, is the setup of your vmware similar to you ec2 - instance? i talk esp. about RAM/CPU-power here. do you have a monitoring on your instances, checking for load/ram-zusage, iowait etc? maybe you should start your ec-test with less than 500 concurrent connections and work up to the point that instance starts to fail. > 4167#0: *27229 connect() to unix:///tmp/pyapp.socketby mex - Nginx Mailing List - English
nice catch! i'd suggest you create the same stuff for ReactOS too (or maybe linux?) so you could have > f | n | o | r | d or > f | n | o | l | d regards, mex ... please forgive me that blasphemous references :)by mex - Nginx Mailing List - English
depending on your webapp and ability to cache (static) files and content (e.g. the content changes every 10 minutes -> you can deploy a 5 min cache) every server should be able to handle that ammount of request.by mex - Nginx Mailing List - English
> > And which conference would that be? > Just out of curiosity? > ;-) cebit :)by mex - Nginx Mailing List - English
you should be able to handle 1000 visitiors/day with a modern smartphone :) if your vps are running on the same host i'd suggest to strip down your setup to 2 machines and apply more ram/cpus for each machine, maybe in a hot-standby-scenario with a switchable failover-ip. regards, mexby mex - Nginx Mailing List - English
tl;dr: yes :) we run nginx as frontend (caching/loadbalancing/waf-functions via naxsi) in front of different setups (rails, tomcat, apache+php) and can recommend it, esp. the caching-function, if used with caution, might be integrated in parts of your application. i'll give a talk on this topic on an oss-conference soon and will release a paper with benchmarks and different implementatioby mex - Nginx Mailing List - English