Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a small note that enabling ssl: true makes kamal-proxy stop forwarding headers unless forward_headers is also set to true #141

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rameerez
Copy link

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`
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.

1 participant