Browse Source

Accept Let's Encrypt TOS when using web-ssl

nameless 8 months ago
parent
commit
825ec395ac
2 changed files with 3 additions and 1 deletions
  1. 2 1
      README.md
  2. 1 0
      web-ssl/Dockerfile

+ 2 - 1
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?

+ 1 - 0
web-ssl/Dockerfile

@@ -1,3 +1,4 @@
 FROM abiosoft/caddy:no-stats
 
 COPY Caddyfile /etc/
+ENV ACME_AGREE=true