AmberonOriginal post
Web Developer
Hi, I have a appwrite instance on a server until now the appwrite was the only thing on that server. So I set it up with the default ports of 80 and 443. But now I am going to host a api and a nextjs website on that same server as well. Since appwrite is already configured to run on the default ports how can I map different ports for appwrite in the proxy and use it. Even the SSL port 443. Nginx will use both port 80 and 443 since I also need port 443 to handle all for the api and website.
Summary
Developers wants to set up nginx reverse proxy in front of appwrite on their server to accommodate additional api and a website. They are looking to map different ports for appwrite in the proxy including SSL port 443 along with the other services.
**Solution:** Configure nginx to use different ports for appwrite, api, and website. Set up appropriate port mappings in the nginx configuration file.