From cb82767d0f93e34525afdf2fee52500b7a470798 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 11 Oct 2024 10:39:58 -0700 Subject: [PATCH] Clarify proxy settings --- lib/kamal/cli/templates/deploy.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/kamal/cli/templates/deploy.yml b/lib/kamal/cli/templates/deploy.yml index e278caa8..aa2d8959 100644 --- a/lib/kamal/cli/templates/deploy.yml +++ b/lib/kamal/cli/templates/deploy.yml @@ -13,13 +13,14 @@ servers: # - 192.168.0.1 # cmd: bin/jobs -# Enable SSL auto certification via Let's Encrypt (and allow for multiple apps on one server). -# 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. +# Enable SSL auto certification via Let's Encrypt and allow for multiple apps on a single web server. +# Remove this section when using multiple web servers and ensure you terminate SSL at your load balancer. +# +# Note: If using Cloudflare, set encryption mode in 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. + # Proxy connects to your container on port 80 by default. # app_port: 3000 # Credentials for your image host.