Back

do functions support https?

  • 0
  • Functions
Mylo
2 Oct, 2023, 20:46

i have self hosted docker, everything works. it is installed in a cloud server. dns is set for the main app domain & there is a wildcard for any subdomains for resolving function deployments. all access function executes, and i can use curl with the ignore certificate option from my local. env var for functions is set to the same as my main app domain.

i am trying to go the url of the function with the browser, but i get a certificate error. the certificate is issued by traefik, and when i run docker compose exec appwrite ssl it simply outputs it is schduling a job for the main app domain.

how to get https working on functions deployed?

TL;DR
The user is asking if functions support HTTPS. They mention that the automatic function domain does not currently support HTTPS and that they need documentation on how to set it up. They have a self-hosted docker installation on a cloud server and have set DNS for the main app domain with a wildcard for subdomains. They can access the function and use curl with the ignore certificate option locally. The environment variable for functions is set to the same as the main app domain. However, when they try to access the function URL with a browser, they get a certificate error. The certificate is issued by Traefik. The user wants to know how to
Drake
2 Oct, 2023, 21:02

the automatic function domain doesn't support HTTPS at the moment...we need to add some documentation about how to set that up

Mylo
3 Oct, 2023, 04:14

ok. great to hear it's available-ish to come. thanks for +ve response

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