I've set up Appwrite on my VPS with a custom domain appwrite.exemple.com which works correctly with SSL. However, I'm experiencing issues with function execution domains like 67ffebab79e8b2a3e0aa.functions.appwrite.exemple.com showing SSL certificate errors.
Current setup
TypeScript
_APP_DOMAIN_FUNCTIONS: functions.appwrite.exemple.com (SSL certificate exists but not valid)
_APP_DOMAIN_TARGET: appwrite.exemple.com```
# DNS Configuration in OVH
```appwrite.exemple.com. A IP
functions.appwrite.exemple.com. CNAME appwrite.exemple.com.
*.functions.appwrite.lysub.com. CNAME functions.appwrite.lysub.com.```
When accessing any deployed function, the browser shows a security error "This Connection Is Not Private" because the SSL certificate is not valid for function-specific subdomains like 67ffebab79e8b2a3e0aa.functions.appwrite.exemple.com.
The error specifically indicates that the site might be impersonating the function ID subdomain. It seems Traefik is using its default certificate instead of the proper one for these dynamically generated function subdomains.
Thanks
TL;DR
Issue with SSL certificate for Appwrite Functions subdomains. Custom domain appwrite.example.com works with SSL, but function-specific subdomains like 67ffebab79e8b2a3e0aa.functions.appwrite.example.com show SSL certificate errors. Traefik uses default certificate instead of the proper one for these subdomains.
**Solution:** Update Traefik configuration to handle dynamically generated function subdomains properly.Recommended threads
- delete cancelled site deployment
I would like to remove a cancelled site deployment, but the site menu shows only "Redeploy".
- How Can I Create landing page in appwrit...
I created function called invoice URL https://app.getrestt.com/v1/functions/invoice/executions?id=test-76f948fe83c43422561fe096c0674a1bd3ff0702cdfcf2444293ab31...
- Self-host migration from 1.8.X
Is it safe to now migrate from 1.7.4 to 1.8.X on my selfhost?