Back

Function domain generated in weird format

  • 0
  • Self Hosted
  • Functions
Szymon
29 Feb, 2024, 12:29

I created function and generated domain is 65e075d9828a5f812d38.https//appwrite.mek.ovh.

_APP_DOMAIN, _APP_DOMAIN_TARGET, _APP_DOMAIN_FUNCTIONS are set to appwrite.mek.ovh so I don't know why https is added to my domain.

TL;DR
Developers having trouble with their function domain being generated with `https` unexpectedly, even though their `.env` file variables are without `https`. The issue arises after executing `docker compose exec appwrite vars`. They have tried modifying the `.env` file and running `docker compose up -d` afterward. The domain generated is in a weird format like `65e075d9828a5f812d38.https//appwrite.mek.ovh`. The developers set `_APP_DOMAIN`, `_APP_DOMAIN_TARGET`, `_APP_DOMAIN_FUNCTIONS` to `appwrite.mek.ovh`. They are confused why `https` is
D5
29 Feb, 2024, 12:32

Are you sure that they don't have https? Have you modified/added the domain recently?

Szymon
29 Feb, 2024, 12:57

Oh, in .env file these variables are without https but when I execute docker compose exec appwrite vars results are different -> with https. That's weird. Ofc I execute docker compose up -d after changing ,env file.

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