changed http://#CGI.HTTP_HOST&application.
TO
https://#CGI.HTTP_HOST&application.