From b2764a96fd1896ee9da9c7a94a3c90b466bb53e0 Mon Sep 17 00:00:00 2001 From: David Tye Date: Tue, 29 Mar 2016 23:03:53 +0100 Subject: [PATCH] Lets Encrypt Should Become Default Lets make Discourse have Lets Encrypt by default. --- samples/standalone.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/samples/standalone.yml b/samples/standalone.yml index 9fcc5af..41fd5a4 100644 --- a/samples/standalone.yml +++ b/samples/standalone.yml @@ -17,11 +17,14 @@ templates: - "templates/postgres.template.yml" - "templates/redis.template.yml" - "templates/web.template.yml" + - "templates/web.ssl.template.yml" + - "templates/web.letsencrypt.ssl.template.yml" - "templates/web.ratelimited.template.yml" ## which TCP/IP ports should this container expose? expose: - "80:80" # fwd host port 80 to container port 80 (http) + - "443:443" # fwd host port 443 to container port 443 (https) # If you want Discourse to share a port with another webserver like Apache or nginx, # see https://meta.discourse.org/t/17247 for instructions. @@ -66,6 +69,9 @@ env: #DISCOURSE_SMTP_USER_NAME: user@example.com # (optional) #DISCOURSE_SMTP_PASSWORD: pa$$word # (optional, WARNING the char '#' in pw can cause problems!) #DISCOURSE_SMTP_ENABLE_START_TLS: true # (optional, default true) + + ## The Lets Encrypt email will aloow you to register a FREE SSL certificate + LETSENCRYPT_ACCOUNT_EMAIL: email@awesomedomain.com ## The CDN address for this Discourse instance (configured to pull) #DISCOURSE_CDN_URL: //discourse-cdn.example.com -- 2.25.1