Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not explicitly specify ports 80 or 443 when they are the default port #9403

Merged
merged 1 commit into from
Feb 8, 2018

Conversation

jsternberg
Copy link
Contributor

@jsternberg jsternberg commented Feb 6, 2018

The default port for HTTP is 80 and HTTPS is 443. When you host InfluxDB
on a service that uses a reverse proxy, the Host header needs to be
exactly correct. Since the host header isn't expecting to see the port
when it is the default, this causes routing to fail.

Fixes #9259.

The default port for HTTP is 80 and HTTPS is 443. When you host InfluxDB
on a service that uses a reverse proxy, the `Host` header needs to be
exactly correct. Since the host header isn't expecting to see the port
when it is the default, this causes routing to fail.
@jsternberg
Copy link
Contributor Author

I forgot to add some tests so I just did that. Assuming they pass, I'll merge this.

@jsternberg jsternberg merged commit c6d01e3 into master Feb 8, 2018
@ghost ghost removed the review label Feb 8, 2018
@jsternberg jsternberg deleted the js-9259-influx-cli-port-fix branch February 8, 2018 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants