We have a number of upstream blocks for different vhosts / processes but
a number of them make use of the same backend nodes so I wanted to
simply out upsteam declarations by using includes. On doing so we get
the follow error:-
nginx: [emerg] “include” directive is not allowed here in
Seems like include is not possible in an upstream block. I can’t think
of a logical reason for this, any ideas?
Seems this would be quite a nice feature to add.
Posted at Nginx Forum: