Skip to content

Deploy magic to existing nginx server #188

Answered by polterguy
kikiimdev asked this question in Q&A
Discussion options

You must be logged in to vote

You can try to edit the ports, but even if you succeed you'd end up with "funny URLs" where you'd have to use an alternative port to access the thing. However, the docker-compose.yml file also automatically creates a LetsEncrypt SSL certificate for you, which assumes port 80 to verify ownership of the site. Implying even if you succeed editing the port, you'd probably not get SSL working, and even if you get SSL working, you'd end up with "sub-optimal" URLs ...

It might be you could configure a reverse proxy for the Host name you want to use for Magic, and forward this into an internal port you could expose in the docker-compose.yml file. The latter would probably be your best solution, a…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@kikiimdev
Comment options

@polterguy
Comment options

Answer selected by kikiimdev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants