Skip to content

Changing the proxy host #117

Answered by kevinmcconnell
notnek asked this question in Q&A
Feb 26, 2025 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

Ah, I suspect Cloudflare is connecting to the proxy over plain HTTP, so the proxy is returning a redirect to HTTPS. But that HTTPS request again goes first to Cloudflare, which connects to the proxy over HTTP again, and so on.

If you want Cloudflare to do only DNS, you could turn off its proxy option to connect directly to Kamal Proxy instead.

But if you want to connect through Cloudflare, can you make sure your SSL mode is set to “Full (strict)”? It should work that way, as it'll use SSL end-to-end.

Let me know if that helps!

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@notnek
Comment options

@kevinmcconnell
Comment options

Answer selected by notnek
@notnek
Comment options

@kevinmcconnell
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants