Rank 2: Process
As appwrite is currently using.
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 2: Process
As appwrite is currently using.
Rank 2: Process
Like this https://your.host.com/.well-known/assetlinks.json without any another port
The reverse proxy should run on the standard ports and then it can forward requests for whatever host to the respective apps running on non-standard ports
This is because only one app can be listening on a port at a time
Rank 2: Process
Excuse me an not that expert but if setup it like this:
If I try to access the appwrite using
https://your-host.com
And
https://your.host.com/.well-known/assetlinks.json
Appwrite using Traefik
And the new link using nginx
Nothing will happen?
Or do I have to Give the Nginx another port
To access the file from web like this
https://your.host.com:8081/.well-known/assetlinks.json
You would run nginx on 443 and 80 and other apps like Appwrite on other ports, but you'll still be able to access Appwrite on ports 443 and 80
Rank 2: Process
Ok, when the setup for appwrite asks me what ports do I want to use I have to use another ports than 80 and 443, and the appwrite will still work when I access it with the link
Like this without any port:
https://your-host.com/
Rank 2: Process
Without any ports Specified ?
Rank 2: Process
I wanna make the same domain host the appwrite and the file.
Same domain won't work
Rank 2: Process
This is the problem I want to host the file on the same domain, that's why I said if I can put it with the appwrite
Because I want to access it like this
https://your.host.com/.well-known/assetlinks.json
when I open https//your-host.com It should open appwrite, then when opening :
https://your.host.com/.well-known/assetlinks.json it should open the file
You also shouldn't really have both on the same domain... Appwrite is your backend. The asset link is like your front end
Rank 2: Process
Then the best thing is to make a sub domain For it?
Rank 2: Process
And add it to a platform in appwrite in order for it to work ?
For example, id have:
Rank 2: Process
I'm making the app in flutter then i should do this:
1-example.com is my website
2- appwrite.example.com is appwrite.
3- something.example.com is my custom thing
Rank 2: Process
Because I want to use the assetlinks.json for deeplink I have to put it under
https://something.example.com/.well-known/assetlinks.json
Right ?
Rank 2: Process
Then I have to add it to my project platform
Your main Appwrite domain should not be app specific because it's designed to be used for multiple apps
Rank 2: Process
The well known link would be on example.com
Rank 2: Process
that's right I never thought of it😁😁
Rank 2: Process
Do I have to add it to a project platform in order for it to works or since it is the main domain and appwrite is sub of it I don't have to?
Yes, you will
Rank 2: Process
Thanks,