Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
In a similar vein as forbole/callisto#490, I am having a problem where there is no way to configure the Big Dipper UI server to only listen on loopback (
127.0.0.1
) instead of globally. This leaves my server with an open non-TLS port, when I'd rather have that port closed off to the world. In my setup I am using nginx to reverse-proxy big dipper, so I am running Big Dipper on port 3001, and ideally only ports 80 and 443 would be open on my server.This PR fixes this issue by having a
HOST
env var that allows hosting on127.0.0.1
.Checklist
CHANGELOG.md
file.Files changed
in the Github PR explorer.