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
- Unable to init function via cli
Hello! I have created a new self hosted instance of appwrite 1.9.6 and have connected to that insatnce with the cli 27.2.0 that was released a few hours ago. Wh...
- Appwrite-injected variables are not avai...
I am using rust-1.83 as a runtime and try to access APPWRITE_FUNCTION_API_ENDPOINT or APPWRITE_FUNCTION_API_KEY during runtime. Both are not set during my execu...
- OAuth Missing redirect URL
Hello all, on a Flutter mobile app with latest Appwrite dependency (25.4.0) I always got "Missing redirect URL" - "Your OAuth login flow is missing a proper red...