none of my function's URL are accessible, how can i make it publically accessible? I have followed this blog post by Steven: https://medium.com/@stnguyen90/how-to-run-appwrite-behind-nginx-19348ed34243 to setup reverse proxy on my Appwrite VPS .
@kamal.panara aside from conventionally deploying the function template, what other steps have you taken?
Ideally, your function URL should work out-of-the-box, so I'd love to know some more info about your setup
Function URL not accessible
Hi I just updated the question
Do you need nginx as a part of your setup? Is there any mandatory requirement for the same?
I ask just so we can verify if this may be interfering anywhere, since this tutorial was created much before our current generation of Appwrite Functions
Also, are you not able to consume your function URL or unable to find it?
I'm not able to consume function URL
I'm using NPM for reverse proxy, does appwrite supports reverse proxy by default?
To have function URLs on a selfhosted Appwrite instance, there are some configuration steps
https://appwrite.io/docs/advanced/self-hosting/functions#github-variables (check _APP_DOMAIN_FUNCTIONS)
https://appwrite.io/docs/products/functions/deployment#domains
As such, because we have function domains, you do not really need a reverse proxy to communicate with functions anymore
okay so let me remove the nginx
my .env
Can you try setting _APP_DOMAIN_FUNCTIONS to a different subdomain
okay
Recommended threads
- CORS preflight returns 500 on Dart funct...
Hey everyone 👋 I’m running a Dart cloud function, Every time I respond to a preflight (OPTIONS) request, I get a 500 internal error, and the logs show: ```NoSu...
- execution failed
When executing an appwrite function, I'm getting a 500 error, but I don't see it in executions. This issue appeared today. Here's the appwrite function ID: 68b4...
- User Labels use Operator.arrayInsert(‘la...
Can I use the new db operators on user labels or roles?