I trying to get functions to work on my server.
i am using the rule ((HostRegexp(aw.example.com) || HostRegexp({subdomain:[a-z0-9]+}.aw.example.com)) && PathPrefix(/)) to route to appwrite, but it does not generate a certificate for anything.aw.example.com. Any idea why?
Wildcard domains (with LE) require DNS validation
good to know. Ill look into setting up dns validation for my traefik instance. thank you
How are you running Traefik?
in a docker container in a different compose file. then using external networks to connect it to different apps
Ah, I could show you how I set up the certificates for the Function subdomains in Traefik, but I don't really know how it works in Docker, so it probably wouldn't be very helpful.
i ll look into dns validation. this is at least a starting point thank you!
First, I hope you're not modifying appwrite's docker-compose.yml? You'll need to create a certResolver and apply it to your route. Check the docs here
https://doc.traefik.io/traefik/https/acme/
Recommended threads
- User ID case sensitivity
I see that through REST (and SDK as well), getting a user is not case sensitive. And even though documentation does not clearly state that it is, the wording "V...
- Any way to temporarily bypass the email ...
Hey guys, any way to bypass the email verification to use the accounts again? i need to recover some projects that due to recent changes have been stopped, and ...
- How to use Sites on selfhosted appwrite
whenever I try to create a site even with template it says 404 nginx error