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

lg: Change configuration of proxied hosts (not backward compatible) #75

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zorun
Copy link
Collaborator

@zorun zorun commented Jun 16, 2020

This simplifies and clarify the configuration, while making it more generic

Proxied hosts can now be reached over HTTP or HTTPS, through any DNS name,
and even through IP literals to avoid dependency on DNS. With the
previous code, proxied hosts needed to be reachable with the fixed scheme
http://<host>.<DOMAIN>:<port>, and this was a big limitation for some
deployments.

This is not backwards compatible, users will have to adapt their
configuration. We rename the PROXY variable to HOSTS to make that
extra-clear.

@zorun
Copy link
Collaborator Author

zorun commented Jun 16, 2020

Review and testing is welcome! I will this open for a while because it's a somewhat big change.

@zorun zorun changed the title lg: get rid of DOMAIN and improve configuration of proxied hosts lg: Change configuration of proxied hosts (not backward compatible) May 10, 2021
This simplifies and clarify the configuration, while making it more
generic and getting rid of the "DOMAIN" variable.

Proxied hosts can now be reached over HTTP or HTTPS, through any DNS name,
and even through IP literals to avoid dependency on DNS.  With the
previous code, proxied hosts needed to be reachable with the fixed scheme
`http://<host>.<DOMAIN>:<port>`, and this was a big limitation for some
deployments.

This is not backwards compatible, users will have to adapt their
configuration.  We rename the `PROXY` variable to `HOSTS` to make that
extra-clear.
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