@everyone
I installed appwrite on VPS with standart 80 and 443 ports
_APP_DOMAIN=appwrite.mydom.com
_APP_DOMAIN_TARGET=mydom.com
before i had nextjs13 app on mydom.com
launched with caddy.server
mydom.com { reverse_proxy localhost:3000} which fetched data from appwrite via node-appwrite
Now I can't set up both nextjs13 and appwrite on the same vps machine
if I change the default appwrite ports 80 and 443 to run nextjs13 on mydom.com without any problems, then I lose the ability to contact appwrite due to ssl errors.
I can't figure out how to get nextjs13 to work with ssl on mydom.com along with appwrite
Please help