-
|
As per the bug report guidelines, I'm creating a discussion to aid myself and others in hosting ControlR specifically behind Cloudflare Proxy. Try as I might, I've been unsuccessful in initiating a remote session to an agent behind Cloudflare Proxy despite all other features working. I have an nginx server acting as the reverse proxy for Control R, below is the error reported in the browser console and aspire when attempting to start a remote session: The error is only produced when Cloudflare is proxying the connection, if I set the real IP of my nginx reverse proxy in the agent's hosts file, remote sessions work without issue. I've ensured websockets are enabled in Cloudflare and I've added all known proxies\enabled Cloudflare proxy support in the docker compose. The public IP of the agents are all correct and I don't see any unknown proxy errors in aspire or the docker container logs either. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
|
My personal server and the public one at I had to configure Caddy to trust the Cloudflare IP ranges using the trusted_proxies directive in the Caddyfile. The result looks like this: |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
This topic relates to Cloudflare Proxy, so I'll post it here. Cloudflare has an upload limit of 100MB per file for both free and Pro users. I'm confident that implementing chunked uploads would significantly improve the user experience. |
Beta Was this translation helpful? Give feedback.


Well, it turns out that I already had rules that were bypassing the cache for downloads. After disabling them, I encountered the same issue as you described. So I'm pretty confident that this is it.
I'll add it to the documentation.
Edit: Tired typos.