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

support for custom ports #13

Closed
GVLLIFESTYLE opened this issue Feb 6, 2023 · 3 comments
Closed

support for custom ports #13

GVLLIFESTYLE opened this issue Feb 6, 2023 · 3 comments

Comments

@GVLLIFESTYLE
Copy link

GVLLIFESTYLE commented Feb 6, 2023

Even if the ports are mapped to outside like to port 8443 instead of 443, the QR-Code URL in mdm is still on 443.
It would be nice if there would be a variable to define the servers ports especially if port forwarding is in use.

@GVLLIFESTYLE
Copy link
Author

This leads at the end also to the issue, that the phone cannot connect to the server through the QR-Code

@h-mdm
Copy link
Owner

h-mdm commented Feb 6, 2023

We presume that standard ports (443 for HTTPS) are used.

If you need to change the port in the QR code URL, you need to adjust the following:

  • Replace 443 to 8443 in the redirection directives in all docker configs
  • Replace PROTOCOL://BASE_DOMAIN to PROTOCOL://BASE_DOMAIN:8443 in the templates/conf/context_template.xml
  • Rebuild the image from source code to apply changes

@h-mdm h-mdm closed this as completed Feb 6, 2023
@GVLLIFESTYLE
Copy link
Author

GVLLIFESTYLE commented Feb 6, 2023 via email

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

No branches or pull requests

2 participants