Do I need nginx in the web application host?

If I have a host witn nginx (load balancing and SSL termination), do i
need
nginx inside the host of each of my webapps? (Assuming I will use cdn
for
static assets).

Thanks!

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,249048,249048#msg-249048

Nginx can proxy HTTP requests to backend through the proxy module
directiveshttp://nginx.org/en/docs/http/ngx_http_proxy_module.html
.

If your backend is able to handle those requests on its own (ie if it is
able to handle connections without any webserver), then make nginx as a
load-balancer directly talk with it.
If your Web applications need support from a webserver, you could use
any
(nginx being one of the best) to talk with the frontend.

Hope I helped,

B. R.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs