NPM is Nginx Proxy Manager in this case
okay, so what do i need todo?
How did you setup Appwrite on your machine?
Did you install and set it up with Docker, or one of the one-click installs?
it's self hosted instance with docker on VPS KVM
with Docker command from appwrite self-host docs
okay so now it's best if you create a reverse-proxy setup. use this tutorial to set it up: https://medium.com/@stnguyen90/how-to-run-appwrite-behind-nginx-19348ed34243
Once you have this setup, you can create a Proxy Host for *.api.panara.studio
okay, why do i need that reverse proxy?
I'm new to this all, so asking.
you need a reverse proxy if you have multiple apps running on a server that needs to be exposed on the same port...for your case, you might be able to just DNS records pointing to the server
okay let me try that
after adding new wild card A record (*.api.panara.studio) in my DNS settings the function URL is now working!
but i'm still getting same error on discord:
and this is error i'm getting from cloud function.
is it due to ssl certificate? but it says ceritificate generated on appwrite console.
No I don't think so
Perhaps the discord public key environment variable is incorrect
I don't know about this error
You'll definitely get this error if you try to browse to the URL
Anyways...SSL...did you set up nginx proxy manager or anything else in front of Appwrite?
Gets same error when. I send post request
I haven’t setup Nginx proxy or anything just installed Appwrite on VPS with that single docker command
would you please try logging the following before the verifyKey() call:
req.headers['x-signature-ed25519']
req.headers['x-signature-timestamp']
process.env.DISCORD_PUBLIC_KEY
and is the req.bodyRaw just a string?
Recommended threads
- Can't really use the S3 storage device
hi, I've linked my local MinIO Instance (it's just for testing, not for prod.) to my appwrite instance, when i'm uploading a file it's getting uploaded to the S...
- Next.js SSR Site Times Out on First Visi...
Hey everyone, I'm running a Next.js SSR site on a self-hosted Appwrite server (v1.9.0), and I've noticed a strange behavior that I'm hoping someone can help me...
- Appwrite migration stuck on pending
Migration an existing self hosted 1.9.0 to a new VPS tuning self hosted 1.9.0.. import data recognises the api url, project id and api and then when I create, i...