-
Notifications
You must be signed in to change notification settings - Fork 855
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
How to use Cloudflare proxy in custom domain #5478
Comments
To be honest, I'm not just talking about the cache. Without a proxy for a given domain, I can't do redirects using "Bulk Redirects", I can't use "Cloudflare Zaraz" or "page rules". |
Edge does support some redirect rules similar to Cloudflare rules. Those aren't customisable though app.yaml yet, but will be soon. BUT it's odd that your domain doesn't work through Cloudflare. |
It works, but with the proxy turned off. Maybe I expressed myself badly. I simply have the entire infrastructure on Cloudflare and the app on wasmer works after connecting to Cloudflare but I cannot use special functionalities that require a proxy because after turning on the proxy there is an error about handshake ssl. |
Ahh, right, I remember the issue now. The problem is that Edge uses LetsEncrypt to provision a certificate for you. In theory allowing the app to be served over HTTP should make things work, though I'll test and get back to you on that. |
Confirmed: If you disable the force_https setting by adding
to your The downside is that traffic between Cloudflare and Wasmer Edge servers will go over http and won't be encrypted. If this is important for you we could implement a setting that will force Edge to use a self-signed certificate for a given app. See https://developers.cloudflare.com/ssl/origin-configuration/ssl-modes/#custom-ssltls |
@oritwoen just as a followup, we will look into making this work with no manual user intervention needed. |
Summary
How can I use a proxy for a domain on Cloudflare? Now, in order for my domain assigned to the wasmer application to work, I have to disable the proxy.
In most platforms, it is possible to enable the proxy and use the certificate through such solutions:
For wasmer it does not work.
Additional details
Provide any additional details here.
The text was updated successfully, but these errors were encountered: