aboutsummaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2016-12-27 21:53:30 +0300
committerIgor Pashev <pashev.igor@gmail.com>2016-12-27 21:53:30 +0300
commitd7e5277c680d73ac2e11aea0b473d98b2d48350c (patch)
tree8b2e2ae8b01ab984ea76a32d2b1bcfe1e78d6763 /.gitignore
parent43bf95e21d4a616a55b211670076a8c7c48c06a3 (diff)
downloadsproxy2-d7e5277c680d73ac2e11aea0b473d98b2d48350c.tar.gz
Disregard possible port in the Host HTTP header
Motivation: to make it easy to switch Sproxy's primary port. This could be useful when running private (behind Sproxy) and public (e. g. nginx) HTTPS services on the same server. In such a setup one can use port 443 for public services and alt. HTTPS port 8443 for Sproxy. Before this change, Sproxy took possible port number into account when looking for backend and privileges. Now it ignores port and considers domain name only. This also gets Sproxy in line with browsers and SSL certificates: certificates do not include port numbers, browsers ignore ports when sending cookies.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions