#Functions with Nginx Proxy Manager

23 messages · Page 1 of 1 (latest)

cold stratus
#

I’ve successfully got my self hosted Appwrite functions linked and building from my GitHub. Everything is working smoothly but now I’m running into the issue of the generated function domains not getting through my Nginx proxy manager default page. I set a wildcard like *.example.com in https scheme to forward to my self hosted Appwrite instance with no ssl certificate as I’m assuming functions should handle that? Well for some reason I’m only getting the default page even with the wildcard.

Honestly I know this is mainly an issue on the proxy manager side I was just looking to see if anyone has dealt with this specifically in Appwrite functions context.

dusk trellis
cold stratus
dusk trellis
cold stratus
#

That is correct. Just to note I didn’t touch the proxy and kept getting that default screen and figured I should try and setup a wildcard proxy so all the generated functions would get through. So I added that to my existing forward but I think my already existing ssl for example.com glitched something out and I got logged out of the admin panel when accessing the function url on my laptop and it wouldn’t let me log back in. But my phone still had a session up so that’s how I’ve been debugging this issue. And said subdomain was just an example it’s a bunch of numbers and letters

dusk trellis
dusk trellis
cold stratus
#

Yeah I just created a starter template in dart and tried running the url once it built. I keep getting a mix bag of insecure connections or default pages. Right now with the forward you suggested tying onto my original I get this on my phone accessing the url.

#

It also won’t let me login on my laptop anymore even though I’m 100% sure the credentials are right

#

“Invalid credentials. Please check your email and password”

#

I got some sort of 500 error in the dashboard when executing the link one time and then it’s locked me out since

#

Update: on my laptop the url is providing the Hello, World!

#

But I’m still unable to login

dusk trellis
cold stratus
#

Yes actually I changed it in my env earlier

dusk trellis
cold stratus
#

So does that brick everything?

dusk trellis
# cold stratus So does that brick everything?

It doesn't brick things...it's just everything that's encrypted will get messed up. For example, passwords...so you'll have to reset your password to get back in.

Another example is function/project variables. They'll be blank so you need to set them again

cold stratus
#

Hmm gotcha. What do you recommend if I never got to setting up smtp😂

#

Would changing it back work? I wouldn’t think so right

dusk trellis
dusk trellis