From: David Tye Date: Tue, 29 Mar 2016 22:03:53 +0000 (+0100) Subject: Lets Encrypt Should Become Default X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b2764a96fd1896ee9da9c7a94a3c90b466bb53e0;p=discourse_docker.git Lets Encrypt Should Become Default Lets make Discourse have Lets Encrypt by default. --- 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