Skip to content

Conversation

@rameerez
Copy link
Contributor

This is especially important in the case you're putting your Rails app behind Cloudflare, and are using the cloudflare-rails gem to get the real user request.remote_ip. Without this option, gems like cloudflare-rails will fail to set the right headers and infer the right request IP as discussed in modosc/cloudflare-rails#165

Add a small note that enabling `ssl: true` makes `kamal-proxy` stop forwarding headers unless `forward_headers` is also set to `true`
djmb added a commit to basecamp/kamal that referenced this pull request Dec 13, 2024
@djmb
Copy link
Contributor

djmb commented Dec 13, 2024

Just merging this now, but the docs under docs/configuration are generated from the yml files in the kamal repo. I've updated them here - basecamp/kamal@77c202e and I'll pull that in next time I generate the docs.

@djmb djmb merged commit 94cc481 into basecamp:main Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants