The official NGINX Open Source repository. https://nginx.org/
Find a file
Maxim Dounin 80824feaff Merge of r4153:
Better handling of late upstream creation.

Configuration with duplicate upstream blocks defined after first use, i.e.
like

    server {
        ...
        location / {
            proxy_pass http://backend;
        }
    }

    upstream backend { ... }
    upstream backend { ... }

now correctly results in "duplicate upstream" error.

Additionally, upstream blocks defined after first use now handle various
server directive parameters ("weight", "max_fails", etc.).  Previously
configuration like

    server {
        ...
        location / {
            proxy_pass http://backend;
        }
    }

    upstream backend {
        server 127.0.0.1 max_fails=5;
    }

incorrectly resulted in "invalid parameter "max_fails=5"" error.
2011-12-13 18:34:34 +00:00
auto Merge of r4001, r4002, r4008: 2011-12-13 18:07:52 +00:00
conf Merging r4190, r4232: 2011-11-01 14:02:07 +00:00
contrib nginx-0.3.55-RELEASE import 2006-07-28 15:16:17 +00:00
docs Merge of r4001, r4002, r4008: 2011-12-13 18:07:52 +00:00
misc Merge of r4000, r4014, r4265, r4321, r4342, r4343: 2011-12-13 17:58:18 +00:00
src Merge of r4153: 2011-12-13 18:34:34 +00:00
.hgtags release-1.0.10 tag 2011-11-15 08:24:10 +00:00