How do I fix Nginx config to work with multiple hosts of Unicorn?
- by fred deAlmeida
I have no problem instantiating multiple instances of unicorn on different unix sockets and ports. Works fine if I do url:port.
My problem comes in correctly formatting nginx.conf to allow multipe upstream conditions.
Whatever i do does not seem to work. One instance is fine works fine. Multiple gives me a ""upstream" directive is not allowed here error
I am using the base nginx sample from the unicorn site. and doubling up the upstream area with differing terms. each is part of the http set.
Any help would be amazing!