Your comments

I also get this when using a reverse proxy for ssh. The link it 302s to is a hard coded http://