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

bind a port with only public routes #37

Merged
merged 3 commits into from
Jan 19, 2018
Merged

bind a port with only public routes #37

merged 3 commits into from
Jan 19, 2018

Conversation

cainlevy
Copy link
Member

By specifying PUBLIC_PORT, a person may bind AuthN on two ports with two different routing tables:

  1. The standard PORT, with all routes (public & private)
  2. The optional PUBLIC_PORT, with only public routes.

When configured this way, a public load balancer or SSL terminating proxy can easily and safely forward to the public port without concern for exposing admin endpoints to the general internet.

This two-port setup is designed to be backwards compatible. There's a chance it could be revisited and improved in a 2.x release some day.

Fixes #33

showing pertinent config seems more scalable than trying to fit the same
bits into sentences.
@cainlevy cainlevy merged commit 8fcd76d into master Jan 19, 2018
@cainlevy cainlevy deleted the public-port branch January 19, 2018 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant