include directive not allowed in upstream?

Ensiferous nginx-forum at
Fri Jun 3 21:25:52 MSD 2011

I'm curious, do you base that logical reason on a "the code should allow
this" or "it would be nice to have"? There's really no way to use
include in an upstream directive. You should make sure your vhosts use
the same upstream as opposed to defining multiple upstreams with
identical servers.

Posted at Nginx Forum:,203585,203692#msg-203692

More information about the nginx mailing list