Welcome! Log In Create A New Profile

Advanced

Re: Include additional files

April 25, 2013 03:15AM
upstream name should be unique per entire config, you could name it in nginx.conf and than reference to its name from different your includes.
like:
upstream loadbalancer {
server 192.168.0.1:8080;
server 192.168.0.2:8080;
server 192.168.0.3:8080;
server 192.168.0.4:8080;
}

than in certain location (in included file for example)
proxy_pass http://loadbalancer;
SubjectAuthorPosted

Include additional files

Jörg KastningApril 25, 2013 03:10AM

Re: Include additional files

mottoApril 25, 2013 03:15AM

Re: Include additional files

Jörg KastningApril 26, 2013 01:48AM

Re: Include additional files

mexApril 26, 2013 02:05AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 90
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready