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

Don't hardcode URL scheme, domain, port in HTML #2

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

Conversation

joelpurra
Copy link

Serving hardcoded HTML base URL scheme, domain and port from the server's
point of view to the client breaks when proxying to use publicly facing
settings different from the one configured internally in the webserver.

The context path is still used, and needs to be the same internally as
well as externally.

This enables for example proxied HTTPS support, while allowing export services
to make requests which do not require roundtrips outside of the server.

Serving hardcoded HTML base URL scheme, domain and port from the server's
point of view to the client breaks when proxying to use publicly facing
settings different from the one configured internally in the webserver.

The context path is still used, and needs to be the same internally as
well as externally.

This enables for example proxied HTTPS support, while allowing export services
to make requests which do not require roundtrips outside of the server.
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.

None yet

1 participant