Skip to content

Commit

Permalink
Merge pull request #1054 from tuladhar/cloudflare-ssl
Browse files Browse the repository at this point in the history
Clarify SSL comment when using Cloudflare
  • Loading branch information
dhh authored Oct 4, 2024
2 parents 81f3508 + 1d04a66 commit 5ca806f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/kamal/cli/templates/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ servers:
# cmd: bin/jobs

# Enable SSL auto certification via Let's Encrypt (and allow for multiple apps on one server).
# Set ssl: false if using something like Cloudflare to terminate SSL (but keep host!).
proxy:
# If using something like Cloudflare, it is recommended to set encryption mode
# in Cloudflare's SSL/TLS setting to "Full" to enable end-to-end encryption.
proxy:
ssl: true
host: app.example.com
# kamal-proxy connects to your container over port 80, use `app_port` to specify a different port.
Expand Down

0 comments on commit 5ca806f

Please sign in to comment.