Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Introducing HTTPAdvertise config #430

Merged
merged 4 commits into from
Mar 7, 2018
Merged

Introducing HTTPAdvertise config #430

merged 4 commits into from
Mar 7, 2018

Conversation

shlomi-noach
Copy link
Collaborator

Closes #422

The optional HTTPAdvertise configuration variable specifies the advertised HTTP location for the service.

At this time this is used in conjunction with raft reverse proxy.

When given, HTTPAdvertise must be of the form scheme://hostname:port, such as http://1.2.3.4:3030. When given, raft trusts and assumes this URL does indeed point back to the leader.

When not given, orchestrator will auto-compute HTTP reverse proxy URL, as before.

HTTPAdvertise is in particular useful when the orchestrator node is behind NAT or firewall which reroutes the port or changes the scheme.

cc @enisoc

@shlomi-noach shlomi-noach merged commit e2922c4 into master Mar 7, 2018
@shlomi-noach shlomi-noach deleted the http-advertise branch March 7, 2018 13:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant