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
- Does 1.9.0 Self Hosted have MongoDB Atla...
I have been playing with the new 1.9.0 update and I am really excited for the MongoDB support. I wanted to ask though if at the current time Appwrite supports b...
- ClientException with SocketException: Cl...
hi <@564158268319203348> i have noticed this 500 status code in my function requests, it seems its not able to connect to the internet in the function as reque...
- significant increase in CPU usage with 1...
Hi, This is no big deal at all (as everything is working great so far), but I just saw that the update (from 1.8 to 1.9) consumes much more CPU than before (re...