Hi Support,
We are implementing horizontal scaling (https://book.appread.io/horizontal-scaling) with shared storage, shared MariaDB, and shared Redis for our self-hosted Appwrite instance (version v1.5.7). We have two instances (primary and secondary) in our horizontal scaling setup, and everything has been running smoothly for months.
We've discovered an issue where when we add a custom domain or function domain through the admin UI, only one instance's Traefik becomes aware of the new SSL certificate.
We believe the instance where SSL certificates are refreshed for Traefik is likely the one where the appwrite-worker-certificates service generates the SSL certificate.
When accessing the custom domain, we sometimes get proper HTTPS with SSL and sometimes get HTTPS without a valid SSL certificate, depending on which instance handles the request.
How can we resolve this issue without restarting our primary and secondary instances? Or is restarting both instances the only way to resolve this issue?
Thank you for your assistance.
Recommended threads
- Self hosted project based backup
Is there a native way to perform a project-level backup in a self-hosted instance, instead of backing up the entire Docker instance? If not, I would like to off...
- Function domain not available
Hello, even tho in docs you clearly describe that every function has its domain, I can not see it anywhere in any of my projects. How do I reveal the url of th...
- Inquiry: How to Reduce Cold Start Durati...
Hey! I was using Python for the function runtime, but after reading that Go has the fastest runtime, I switched my code over to Go. However, I'm still seeing co...