June 03, 2011 07:18AM
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 /usr/local/etc/nginx/nginx.conf:61

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.
Subject Author Posted

include directive not allowed in upstream?

steveh June 03, 2011 07:18AM

Re: include directive not allowed in upstream?

Ensiferous June 03, 2011 01:25PM

Re: include directive not allowed in upstream?

steveh June 03, 2011 06:13PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 236
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready