Fix #4601 Rewrite HTTP to HTTPS subdomain problem This resolve: On fast-cgi and php-fpm (maybe the others configurations too) subdomain redirection from http to https. I opened a bug on: #4601 See merge request !565