Mercurial > hg > nginx-quic
annotate docs/html/index.html @ 6788:3fa5983b6b44
Upstream: don't consider default_port when matching upstreams.
The only thing that default_port comparison did in the current
code is prevented implicit upstreams to the same address/port
from being aliased for http and https, e.g.:
proxy_pass http://10.0.0.1:12345;
proxy_pass https://10.0.0.1:12345;
This is inconsistent because it doesn't work for a similar case
with uswgi_pass:
uwsgi_pass uwsgi://10.0.0.1:12345;
uwsgi_pass suwsgi://10.0.0.1:12345;
or with an explicit upstream:
upstream u {
server 10.0.0.1:12345;
}
proxy_pass http://u;
proxy_pass https://u;
Before c9059bd5445b, default_port comparison was needed to
differentiate implicit upstreams in
proxy_pass http://example.com;
and
proxy_pass https://example.com;
as u->port was not set.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Mon, 17 Oct 2016 14:27:45 +0300 |
parents | ed470a7bf7fd |
children | 67c68cd973b8 |
rev | line source |
---|---|
4834 | 1 <!DOCTYPE html> |
450 | 2 <html> |
3 <head> | |
4 <title>Welcome to nginx!</title> | |
4834 | 5 <style> |
6 body { | |
7 width: 35em; | |
8 margin: 0 auto; | |
9 font-family: Tahoma, Verdana, Arial, sans-serif; | |
10 } | |
11 </style> | |
450 | 12 </head> |
4834 | 13 <body> |
14 <h1>Welcome to nginx!</h1> | |
15 <p>If you see this page, the nginx web server is successfully installed and | |
16 working. Further configuration is required.</p> | |
17 | |
18 <p>For online documentation and support please refer to | |
19 <a href="http://nginx.org/">nginx.org</a>.<br/> | |
20 Commercial support is available at | |
21 <a href="http://nginx.com/">nginx.com</a>.</p> | |
22 | |
23 <p><em>Thank you for using nginx.</em></p> | |
450 | 24 </body> |
25 </html> |