easiest way to fix all, have separate copies of php.conf for http and https vhosts :) make copy of php.php named as /usr/local/nginx/conf/php-http.conf and /usr/local/nginx/conf/php-https.conf which would escape auto update and remain how you set...