Do I need nginx in the web application host?

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


Posted at Nginx Forum:,249048,249048#msg-249048

Nginx can proxy HTTP requests to backend through the proxy module

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
(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