The default configuration file for NGINX is located at /opt/bitnami/nginx/conf/nginx.conf. Change the port using the listen directive: listen 1234;