[CLOSED] What should I set env variable if I want to use self hosted appwrite with ngrok
- 0
- Self Hosted
_APP_DOMAIN=localhost
_APP_DOMAIN_FUNCTIONS=functions.localhost
_APP_DOMAIN_TARGET=localhost
Set _APP_DOMAIN and _APP_DOMAIN_TARGET to your ngrok domain.
As for the functions domain...You need to set it to the base domain such that all subdomains point to _APP_DOMAIN_TARGET...can you do that with ngrok?
Is the following deployment successful
That's just a domain. Not a deployment
I am getting following error when I try to access the url, do you have soln for this?
That's a domain/ngrok problem
The domain needs to point to Appwrite. And it's up to you to handle ssl
When I click execute now, it worked so I think It has been deployed successfully, just I can't call it via URL
That's your problem with your domain
Yup you were correct, subdomain does not point to my instance
Is there any way we can call it via root domain?
Please read through https://appwrite.io/docs/products/functions/execution
I used One Click Setup for Appwrite on Gitpod, there also it the subdomain one did not work after setting up the Github??
This issue can be closed now
[CLOSED] What should I set env variable if I want to use self hosted appwrite with ngrok
Recommended threads
- function subdomain ssl certs
The generated subdomain isn't getting a valid ssl cert, I was wondering if appwrite automatically generates one or uses a wildcard for *.functions.domain.com? ...
- Whats best practise for Appwrite Cloud?
Appwrite Teams map very nicely to my needs, it is how i group users together. ... I use roles to define permissions. Should I also map a table to each team ? ...
- Error getting preview of file
Rest Response: ``` { "message": "Server Error", "code": 500, "type": "general_unknown", "version": "1.8.1" } ``` Appwrite Logs ``` appwrite ...