Moderator
Also, are you using standard port for HTTPS?
Votes
0
Replies
24
Participants
Unknown
Messages
25
Moderator
Also, are you using standard port for HTTPS?
Moderator
With permission, I'm entering there
Rank 1: Thread
yes, nginx (80-443) -> appwrite 1.4.1 (80, 443)
Moderator
First domain
appwrite.bonfisoft.com
Seems using SSL correctly 👀
Rank 1: Thread
nginx is actually a dockerized nginx proxy manager BTW
Moderator
Both domains are using SSL in my side 🧐
Moderator
Specifically TLS 1.2
Rank 1: Thread
NPM requests the certs when the redirect is set up. The issue i think is appwrite trying to request another
Moderator
What do you mean?
Moderator
Also, are you using NGINX to proxy 2 domains to Appwrite?
Rank 1: Thread
I have a router exposed to the internet, the router send all 80 and 443 requests to a machine running NPM. NPM proxies the domains to Appwrite.
Rank 1: Thread
the domains are proxeied to port 80, 443 on the apprwite machine running docker
Rank 1: Thread
so i think the main domain works because it gets the provisioned ssl from npm. the other domain works externally because of the same reason. But when from inside you set up the custom domain in a project, the cert worker somehow cannot get the verification
Ya you might be fine. No need to appwrite to set up an SSL certificate if NPM already has one
Rank 1: Thread
so just disregard cert status? but then it doesn't let me change the custom domain endpoint.
Moderator
Because the domain is set by the proxy
Moderator
Basically both domain and SSL are being handled by the proxy
Can you recreate?
Rank 1: Thread
you mean the custom domain entry? Yes tried. custom domain entry gets verified, cert creation by apprite fails, project endpoint still points to main domain
Rank 1: Thread
was going to try to update the endpoint with the cli, but the cli is broken too!
That won't change. Just disregard.it
Rank 1: Thread
ok. so i can just keep the main endpoint and won't mess up cors?
Ya and you should be able to use your custom domain in your app too
Rank 1: Thread
Awesome thanks!
Rank 1: Thread
I'll try that and come back if doesn't work. Thank you1