In the dashboard (v0.5.120 and later)
Open Settings, then Web UI port, Change: in Edit Web UI port, tick Off next to HTTPS port, then Save. The plain HTTP port stays; if you opened the page over HTTPS, you are taken to the HTTP address after saving.By hand
Sethttpsport=0 under [gateway] in /etc/casaos/gateway.ini, then restart the gateway:
httpsport: a line named ssl_port is not read.
Issue: ReCasaOS/CasaOS#127.