Update index.php

update to check HTTPS change.