Hello, I have a self hosted instance of appwrite 1.6.1 on a vps. The .env file points to domain1.com, I can access the console and its served with a valid ssl. However when I create a new function from a template the resulting auto generated domain link gives me the error net::ERR_CERT_AUTHORITY_INVALID. I have noticed that the console url domain1.com uses a Let's Encrypt cert and the function url uses the TRAEFIK DEFAULT CERT. Anyways if I access the function from a http link the function works perfectly fine. So it has to be an issue with how I configured the .env or dns setting, right? Any help troubleshooting would be very appreciated.
.env
_APP_ENV=production
_APP_LOCALE=en
_APP_OPTIONS_ABUSE=enabled
_APP_OPTIONS_FORCE_HTTPS=enabled
_APP_OPTIONS_FUNCTIONS_FORCE_HTTPS=enabled
_APP_OPTIONS_ROUTER_PROTECTION=disabled
_APP_OPENSSL_KEY_V1=REDACTEDKEY
_APP_DOMAIN= domain1.com
_APP_DOMAIN_FUNCTIONS= domain3.com
_APP_DOMAIN_TARGET= domain1.com
_APP_EMAIL_CERTIFICATES= REDACTED //valid email
My DNS settings A record domain1.com Server ip address //This domain points the the server that appwrite is hosted on and nothing else A record *.domain1.com Server ip address //I assume this is needed for all of the custom subdomains that are auto generated for each function
A record domain2.com Server ip address //this is the server that hosts the static files for the site
A record www.domain2.com Server ip address
CNAME api.domain2.com domain1.com //Cname record for accessing appwrite from the front end without Third-party cookies
CNAME *.domain3.com api.domain2.com //domain just for functions
Recommended threads
- Functions Failing on CRON Schedule
I set up an hourly CRON Schedule for my function and It only executes successfully every after 3 hours sometimes 10 hours. When I execute it manually it works e...
- hi guys! my site is not accesible in my ...
- MongoDb Database Breaks integer[] & bigi...
I've got a table with the below column created. When I try to insert the value `[-3408048000]` into it, the dart sdk cloud function call is successful (no error...