Issue
I have spent two days trying to install Appsmith SSL on a different port, as my Digital Ocean droplet already has ports 80 and 443 occupied. Despite trying various solutions, I have not been able to resolve the issue and am seeking help from others.
Resolution
To install Appsmith SSL on a different port, the user can follow these steps:
- In the Appsmith Docker Compose file, change the nginx port from 80 to a different port (e.g., 8080).
- Restart the Docker Compose file using
docker-compose down
anddocker-compose up -d
. - Modify the Digital Ocean firewall settings to allow incoming traffic on the new port.
- Obtain an SSL certificate and key for the new port.
- Update the nginx configuration file to point to the SSL certificate and key for the new port.
- Restart the nginx service using
sudo service nginx restart
.