I’m late to the party - but I never could find a solid answer, and didn’t have time to research the WTF of it all myself, in order to find a quick fix. But then I did. So here ya go!
Quickest solution I’ve found
sudo nano ~ /etc/apache2/sites-available/001-cloud9.conf
EDIT: I have had hit or miss experiences, where sometimes after running the aforementioned command a blank/empty buffer opens. The first time it happened, I shat my pants because I thought I’d somehow wiped 001-cloud9.conf But just press ctl+X and it’ll switch to the .conf file
Find the FIRST instance of ServerName
Delete the ‘s’ in https://
Ctrl + X <-- close(you will be prompted to save right about...)
Now you will be prompted to close with/without saving the buffer. Press 'Y'
FINALLY - run sudo service apache2 restart
At this point your redirects will redirect without adding https and :80 to your URL and making you wanna table flip =]
Except caching. (facepalm) – so either clear that crud, or test the update in a “private browsing” tab