Back

Traefik error

  • 0
  • Self Hosted
Q T
4 Jan, 2024, 18:42

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?

TL;DR
The support thread is about an error regarding Traefik. The message does not provide enough information to determine the issue or a solution.
ideclon
4 Jan, 2024, 18:51

Wildcard domains (with LE) require DNS validation

Q T
4 Jan, 2024, 18:52

good to know. Ill look into setting up dns validation for my traefik instance. thank you

ideclon
4 Jan, 2024, 18:52

How are you running Traefik?

Q T
4 Jan, 2024, 18:53

in a docker container in a different compose file. then using external networks to connect it to different apps

ideclon
4 Jan, 2024, 18:54

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.

Q T
4 Jan, 2024, 18:55

i ll look into dns validation. this is at least a starting point thank you!

Ernest
4 Jan, 2024, 19:36

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/

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more