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
- It says domain already used but I have d...
I accidentally deleted the project in which I used my domain originally (orexia.app) from name.com. Now I am trying to add it to a different project and it says...
- Is this normal in the self host custom d...
when i try to add custom domain to the project did not see this in 1.8.0 ok when pressed the retry it says "DNS verification failed with resolver 8.8.8.8. Domai...
- ISO help
Iβm writing a project specification paper. Please let me know if anyone has ISO/IEC/IEEE 29148:2018 β Requirements Engineering, or if someone can check the docu...