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
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...
- Migrate from cloud to localhost
Hello everyone. I need to migrate my test project from cloud to localhost, however it seems that this is possible only if a self-hosted appwrite instance it's h...