Skip to content
Back

Traefik domains + functions

  • 0
  • Self Hosted
Lukas
12 Nov, 2024, 07:42

Hello, I managed to install appwrite side of my other websites on my server but I have some issues that I cannot manage. I will link my docker-compose file. I have a separate traefik install that already manages my other domains. The first issue is that some of my websites are ovveriten by appwrite, appwrite is not following the only domain that I gave him with traefik.http.routers.appwrite_api_http.rule=Host(appwrite.example.com)" for example. The other problem is with Functions the auto generated domains are not working, maybe because the registrar does not support DNS challenge or maybe because traefik intercepts. But it's not the only problem because I cannot add my own domain to my functions, I have certificates error. Why are functions and appwrite trying always to generate ssl certs, why it can't be done by traefik ? Why functions are using domains ? I couldn't be simpler with routes on the same domain ?

TypeScript
Plugins selected: Authenticator webroot, Installer None
Performing the following challenges:
http-01 challenge for stripe.kanel-it.com
Using the webroot path /storage/certificates for all unmatched domains.
Waiting for verification...
Challenge failed for domain stripe.kanel-it.com
http-01 challenge for stripe.kanel-it.com
Cleaning up challenges
Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.

Thanks for the help you will provide Have a nice day

TL;DR
Developers are having issues with Traefik domains and functions. Appwrite is overriding some websites and Functions have certificate errors when trying to add domains. They question why functions need domains and want Traefik to handle SSL certificates.
Lukas
12 Nov, 2024, 07:42
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