I have a selfhosted appwrite instance
It worked perfectly when _APP_OPTIONS_FORCE_HTTPS=disabled But it returns that error when _APP_OPTIONS_FORCE_HTTPS=enabled
I have my domain with cloudflare and already disabled cloudflare proxy because it returns CORS error
Do you have an SSL cert?
Let's encrypt for instance
is it not auto generated?
Don't think so, no.
but it say so in docs
"Appwrite uses Let's Encrypt to auto-generate TLS certificates"
"Appwrite auto-generates a certificate for your main domain when you first visit"
If you set it up
"You need to use a public-facing domain with a known TLD pointing to your Appwrite instance.
Your _APP_ENV environment variable should be set for production mode. The default Appwrite setup comes with this predefined setting, so you should be OK unless you change it.
You need to ensure you have a valid email address set on _APP_SYSTEM_SECURITY_EMAIL_ADDRESS. The default setup comes with certs@appwrite.io as the default value. While this address will work, it's recommended to change it to your own email.
Currently, Appwrite is using the ACME HTTP challenge to issue an TLS certificate. This forces us to generate certificates for port 443 when the challenge itself is performed on port 80. At this point, other ports will not work. To overcome this limit, you can set Appwrite on a separate sub-domain or use your own certificate or proxy server in front of Appwrite.
"
You need to setup all of that first
I have that env vars setup it up
and you have all of your domains pointing to what they should?
yes, I think so, it's the first thing a did
Run docker compose logs appwrite-worker-certificates
Recommended threads
- restore backup on another server with an...
I managed to restore DB+Volumes from a server to another one with another domain but when I try to click my project on the console, I get error "404 - Project w...
- The console isnt showing documents
In console ui saved documents are being shown on frontend but i can see its showing 4 or number of docs available but in rows its only showing single doc and th...
- Create a project via REST API or SDK, mi...
I am currently self-hosting Appwrite in my local machine, deployed using docker script in the website. I also installed `appwrite-cli` through npm. I am trying...