Back

Use public-facing domain without generating certificates.

  • 0
  • Self Hosted
𝓩𝓭𝓾𝓷𝓲𝓾𝓼𝔃
5 Feb, 2024, 04:23

Hi, In my current setup I'm using Nginx which acts as a reverse proxy and is connected to LEGO which issues specific certificate (For appwrite and functions wildcard).

I'm worried that if I set mydomain.com instead of localhost the appwrite will try to generate certificate, which will be redundant. Is there any way to control this behavior?

Best thing (I think) would be to disable all HTTPS handling and leave only plain HTTP since TLS termination is handled at Nginx anyways.

My current workaround is to leave _APP_DOMAIN be localhost and change _APP_DOMAIN_FUNCTIONS to functions.mydomain.com

TL;DR
Developers are looking for a way to use a public-facing domain without generating certificates. They currently have Nginx as a reverse proxy connected to LEGO, which issues specific certificates. They are concerned about Appwrite trying to generate a redundant certificate if they set their domain instead of localhost. They would like to disable HTTPS handling and only use plain HTTP since TLS termination is handled by Nginx. Their workaround is to use localhost for `_APP_DOMAIN` and change `_APP_DOMAIN_FUNCTIONS` to functions.mydomain.com.
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