React Developer
Hey guys, I could use a bit of help. Long text but i try to make it clear.
I was on Appwrite Cloud until yesterday. I switched to self hosting on my RPI-4B. port forwarded and use dyndns. I am also using a subdomain, say db.example.com of my own domain example.com, and cnaming it to the dyndns domain. db.example.com is the one is use for _APP_DOMAIN and _APP_DOMAIN_TARGET in .env. Everything working fine till now. Now i tried to add functions. I tried it with _APP_DOMAIN_FUNCTIONS=localhost, then i can execute only on host machine, makes sense. but if i for example make it _APP_DOMAIN_FUNCTIONS=functions.example.com, i dont know what to do next. what cnames should i define at my domain provider? Any tips? And then there is nginx. I read a lot about guys using nginx in relation to this problem. what exactly does nginx and can it help me here?
Please help!