Enable HTTPS using caddy on a docker install of remotely #665
Replies: 5 comments
-
Is Apache2 installed on your system? |
Beta Was this translation helpful? Give feedback.
-
Hi, i made nginx reverse Proxy in a container on another host. It works. By the way you can build your nginx in another container on the same host and let the containers communicate with each other. tuxya |
Beta Was this translation helpful? Give feedback.
-
Install Caddy, https://caddyserver.com/docs/install#debian-ubuntu-raspbian Then see https://caddyserver.com/docs/running#using-the-service Create a Caddyfile edit it with nano or vi, and the only two lines you need:
Restart Caddy: If your DNS is resolving for that name and IP address, Caddy will automatically request LetsEncrypt certificates for that address. Remotely will pick up the address and configure the download agents on the fly. Also see notes at https://hub.docker.com/r/immybot/remotely |
Beta Was this translation helpful? Give feedback.
-
If you have docker setup then running Caddy as a docker image is easiest. Just make sure that you use the remotley container name in the caddy config and not localhost. Caddy also requires that it is contactable on port 443 for https and 80 for authorising the certificate request. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi.
I used the docker instance to install remotely with default settings
Can anyone help me with getting caddy setup so that i can use the site with https or any other alternative.
Regards
Pieter
Beta Was this translation helpful? Give feedback.
All reactions