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

[IDEA] webstart.jnlp Url from RequestUrl #6291

Open
Lelanto opened this issue Aug 23, 2024 · 2 comments
Open

[IDEA] webstart.jnlp Url from RequestUrl #6291

Lelanto opened this issue Aug 23, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@Lelanto
Copy link

Lelanto commented Aug 23, 2024

Suggestion: Take the URL that is inserted into the Server field of the webstart.jnlp from the RequestURL, so when using Docker with a different port mapping or a reverse proxy, there's no need to change the URL manually.

example:
docker-compose set ports: 8543:8443
Server in webstart.jnlp https://localhost:8443
GOAL https://localhost:8543

@Lelanto Lelanto added the enhancement New feature or request label Aug 23, 2024
@jonbartels
Copy link
Contributor

@tonygermano
Copy link
Collaborator

tonygermano commented Sep 17, 2024

It doesn't quite exist, because the value in server.url is static rather than taking it from the Request. If there are additional port maps or dns aliases of which the mirth server is not aware, it will still serve only what is configured in mirth.properties rather than the hostname and port the user used to reach the server.

On the flip-side, this probably should be a configurable option because if a user hits a mirth server in a non-standard way, the admin may want to direct them to a load balancer/proxy/alternate address instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants