In my self hosted appwrite instance, ports 80 and 443 are already occupied by Nginx on an external server. Our appwrite console is at
https://{domain}:2021/console
And the associated function is at
https://{funcid}.functions.{domain}
When using a locally hosted instance (on own machine) with localhost and default ports, this all works, but not with this setup on the server. Any thoughts as to why? Are there any extra considerations?
TL;DR
Changing default ports 80 and 443 to 2000 and 2001 is causing the functions to behave unexpectedly. The self-hosted Appwrite instance's console and associated function are configured to these ports. The setup works on a local machine with default ports but not on the server due to occupied ports by Nginx. Additional configurations to consider, if switching ports is necessary.