render the ports.conf to use the new ports
change the ports for using nginx as proxy