We can deploy a web system like below:
- HAProxy <---->[optinal Varnish] <----->nginx+uWSGI(communicate
- nginx <------> uWSGI(or cluster)
as nginx can ‘cache’ and ‘proxy’, the positioning of nginx is confusing
my questions are:
1, is it wrong to that nginx talks to uWSGI locally?
2, is it proper of using nginx to take over haproxy+varnish?