Fixed #813: Bug - https site with php-fpm is not working