Rank 4: Virtual Machine
Thanks! Will try :)
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 4: Virtual Machine
Thanks! Will try :)
Rank 4: Virtual Machine
I'm still getting this issue, where all 3 env's are on example.com
would you please try making _APP_DOMAIN_FUNCTIONS some subdomain like functions.example.com?
Rank 4: Virtual Machine
This will make the functions link change to https://6558296e844b0a70c549.functions.example.com
Rank 4: Virtual Machine
which is pretty far apart, i'd rather have example.com be the dashboard and xxx.example.com for everything else
We don't allow it because it mixes cookies from the function and the Appwrite console
Appwrite will throw exceptions: https://github.com/appwrite/appwrite/blob/5a715ff68cba4171bf3473eabc83b84a4ae5876c/app/controllers/general.php#L66
Rank 4: Virtual Machine
I'll need this as an A-Record then, yes?
No, CNAME
Rank 4: Virtual Machine
ah, alright
Rank 4: Virtual Machine
would for example dash.example.com on
_APP_DOMAIN
_APP_DOMAIN_TARGET
work, and for functions just example.com?
Because that's how I got it at the moment and that seems to work!
Rank 4: Virtual Machine
because CF doesn't like multi level subdomains that much: https://developers.cloudflare.com/ssl/troubleshooting/version-cipher-mismatch/
No
Aren't you going to be using a custom function domain?
Rank 4: Virtual Machine
I could, seems a little overkill just for functions, lol
Rank 4: Virtual Machine
So you want me to use example.net as the console and example.com as the functions, yeah?
It depends on if you were already planning on doing that
That would be fine on the Appwrite side
Rank 4: Virtual Machine
alright, i'll try that
Rank 4: Virtual Machine
Well I got myself an advanced tls from CF, using *.functions.example.com as my functions domain and dash.example.com as my console, works as a charm :)
Rank 4: Virtual Machine
Thanks for the help!
Rank 4: Virtual Machine
[Solved] Invalid SSL Certificate
Is that something you have to pay for?
Rank 4: Virtual Machine
Yeah, $10, but mainly because the universal certificate only applies to *.domain.com and domain.com
Rank 4: Virtual Machine
but it's fine because it's super useful, can add up to 50 hostnames for additional certificates to support c: