Tidy and adding fake https flag
Changing php-fpm script handling