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
- how to access the value of account statu...
- Redirect from clicking team invite link ...
Hi all! Pretty new to app development in general so this might be something more generic than appwrite, but I've found (after reading the docs for the Teams API...
- Hosting Issues with Static IP not domain...
I have a machine with Static Public IP. I want to host Appwrite Site on it but I tried it but it doesn't allow IP addresses in Domain names. What should I do h...