The official NGINX Open Source repository.
Go to file
Maxim Dounin 886c6295ee 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-09-27 11:18:51 +00:00
auto Upstream keepalive module. 2011-09-15 19:28:18 +00:00
conf "video/mp4" mime type added. 2011-09-09 10:25:43 +00:00
contrib nginx-0.3.55-RELEASE import 2006-07-28 15:16:17 +00:00
docs Fixed markup. 2011-09-20 13:15:41 +00:00
misc Removing incomplete draft documentation from release tarball and zip. 2011-08-23 13:35:02 +00:00
src Better handling of late upstream creation. 2011-09-27 11:18:51 +00:00
.hgtags release-1.1.4 tag 2011-09-20 11:18:32 +00:00