I’m running self-hosted Appwrite (Docker) behind Traefik with Cloudflare proxy (Full/Strict).
Main domain works: https://app.printa4.in
Function subdomains fail TLS completely, e.g. https://<functionId>.functions.printa4.in
openssl result:
SSL alert number 40: handshake failure no peer certificate available
This means the origin doesn’t present any cert for function subdomains.
Setup:
Cloudflare terminates TLS
Traefik + Appwrite are HTTP-only
Env vars:
_APP_DOMAIN=app.printa4.in _APP_DOMAIN_FUNCTIONS=functions.printa4.in
Suspected cause: Function subdomains (*.functions.<domain>) don’t inherit routing automatically and require an explicit wildcard HostRegexp router in the reverse proxy.
Question: What is the official / recommended reverse-proxy configuration for Appwrite function subdomains when using Cloudflare + Traefik? Should TLS be handled at the proxy or by Appwrite itself for functions?
Any guidance or docs would be really helpful 🙏
Recommended threads
- OAuth provider credentials reverting [CR...
Hi team, I’m experiencing repeated OAuth configuration resets in my Appwrite project. ## Issue 1 – Google OAuth credentials reverting * I configure my own Goog...
- Hey everyone! I'm trying to self-host th...
Hey everyone! I'm trying to self-host the latest Appwrite version (1.8.1) on Coolify. Which docker-compose.yml file should I use from their repo? Can someone he...
- Weird CLI error
I'm a little lost ``` appwrite init project --organization-id my_actual_organiztion_id --project-name "test" --project-id "unique_id" ℹ Info: For detailed erro...