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
- Can't really use the S3 storage device
hi, I've linked my local MinIO Instance (it's just for testing, not for prod.) to my appwrite instance, when i'm uploading a file it's getting uploaded to the S...
- Next.js SSR Site Times Out on First Visi...
Hey everyone, I'm running a Next.js SSR site on a self-hosted Appwrite server (v1.9.0), and I've noticed a strange behavior that I'm hoping someone can help me...
- Appwrite migration stuck on pending
Migration an existing self hosted 1.9.0 to a new VPS tuning self hosted 1.9.0.. import data recognises the api url, project id and api and then when I create, i...