From 825ec395ac2b5a52663ebc95ef1ad0b828b5f123 Mon Sep 17 00:00:00 2001 From: nameless Date: Wed, 22 Jan 2020 17:58:05 +0100 Subject: [PATCH] Accept Let's Encrypt TOS when using web-ssl --- README.md | 3 ++- web-ssl/Dockerfile | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f4122be..138203a 100644 --- a/README.md +++ b/README.md @@ -56,10 +56,11 @@ tt-rss will prompt you to do so on next page refresh. 3. Rebuild and start the containers: ``docker-compose up --build`` -### Using SSL with Letsencrypt (untested!) +### Using SSL with Letsencrypt - ``HTTP_HOST`` in ``.env`` should be set to a valid hostname (i.e. no localhost or IP address) - comment out ``web`` container, uncomment ``web-ssl`` in ``docker-compose.yml`` + - ``SELF_URL_PATH`` in ``.env`` should not include a port as the container is going to use default https port - ports 80 and 443 should be externally accessible i.e. not blocked by firewall and/or conflicting with host services ### How do I add plugins and themes? diff --git a/web-ssl/Dockerfile b/web-ssl/Dockerfile index 4d081e8..458a259 100644 --- a/web-ssl/Dockerfile +++ b/web-ssl/Dockerfile @@ -1,3 +1,4 @@ FROM abiosoft/caddy:no-stats COPY Caddyfile /etc/ +ENV ACME_AGREE=true \ No newline at end of file