▲ | nojs 2 days ago | |
> I would really appreciate if someone has documented this extensively for docker compose Run `certbot certonly` on the host once to get the initial certs, and choose the option to run a temporary server rather than using nginx. Then in `compose.yml` have a mapping from the host's certificates to the nginx container. That way, you don't have to touch your nginx config when setting up a new server. You can then use a certbot container to do the renewals. E.g.
In your nginx.conf you have
And also
For the renewals. |