| commit | cdd022b2d13c581704fbc10a34ed314fb2fd71d0 | [log] [tgz] |
|---|---|---|
| author | Ruslan Ermilov <ru@nginx.com> | Mon Oct 31 18:33:36 2016 +0300 |
| committer | Ruslan Ermilov <ru@nginx.com> | Mon Oct 31 18:33:36 2016 +0300 |
| tree | 433a6cde96c4b203af56fbb9930c857a978e3ece | |
| parent | f043ecf2ff31a40ef18d0518a2d4bb547f99096a [diff] |
Upstream: do not unnecessarily create per-request upstreams. If proxy_pass (and friends) with variables evaluates an upstream specified with literal address, nginx always created a per-request upstream. Now, if there's a matching upstream specified in the configuration (either implicit or explicit), it will be used instead.