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
- Unable to init function via cli
Hello! I have created a new self hosted instance of appwrite 1.9.6 and have connected to that insatnce with the cli 27.2.0 that was released a few hours ago. Wh...
- Appwrite-injected variables are not avai...
I am using rust-1.83 as a runtime and try to access APPWRITE_FUNCTION_API_ENDPOINT or APPWRITE_FUNCTION_API_KEY during runtime. Both are not set during my execu...
- OAuth Missing redirect URL
Hello all, on a Flutter mobile app with latest Appwrite dependency (25.4.0) I always got "Missing redirect URL" - "Your OAuth login flow is missing a proper red...