Forum: NGINX Do I need nginx in the web application host?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
2974d09ac2541e892966b762aad84943?d=identicon&s=25 josh11 (Guest)
on 2014-04-06 23:53
(Received via mailing list)
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
1266aa99d1601b47bbd3ec22affbb81c?d=identicon&s=25 B.R. (Guest)
on 2014-04-07 02:33
(Received via mailing list)
Nginx can proxy HTTP requests to backend through the proxy module
directives<http://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 topic is locked and can not be replied to.