You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've just discovered your container, it's very interesting and it seems it can do what I want in a easy way, I would like to proxy my web application on the 8888 port inside the container, to the 443 on the proxy. Let's say the published name would be "app1.example.com".
How can I accomplish that?
As a side question, if I want to add another host "app2.example.com:8083" to the 443 on the proxy as well, once the docker container is created and running, how can I do it? Should I remove the container and re-create it with the new environment vars?
Thank you!
The text was updated successfully, but these errors were encountered:
I must admit that I’m not using the image myself anymore, I have switched to nginx-proxy, as the letsencrypt certificate generation is more reliable there. (With my image, sometimes when there was an error, it would just try again and again and use up the quota of failures.)
I don’t know exactly what you mean, but I suppose that you just need to add an environment variable HOST_app1_example_com=http://myapp:8888/.
For adding hosts, yes, you need to recreate the container. I recommend to use docker-compose to manage the container, it will recreate it automatically when you change something.
Thank you for your response. I also saw the nginx-proxy, and I think I will also use that, because seem more wide used and maintained.
Thank you anyway :)
Hello,
I've just discovered your container, it's very interesting and it seems it can do what I want in a easy way, I would like to proxy my web application on the 8888 port inside the container, to the 443 on the proxy. Let's say the published name would be "app1.example.com".
How can I accomplish that?
As a side question, if I want to add another host "app2.example.com:8083" to the 443 on the proxy as well, once the docker container is created and running, how can I do it? Should I remove the container and re-create it with the new environment vars?
Thank you!
The text was updated successfully, but these errors were encountered: