subdomain + php-fpm
A little bug in vhost conf. If you set PHP to php-fpm and make a subdomain, it will going to a redirect circle. You have to add this line into vhost file:
RewriteCond %{REQUEST_URI} !^/php5-fcgi/
Into vhost.conf.master file line 271.
This is the whole lines to work admin.domain.com with php-frpm RewriteEngine on RewriteCond %{HTTP_HOST} ^flashpoint-gaming.hu$ [NC] RewriteRule ^(.)$ http://www.flashpoint-gaming.hu$1 [R=301,L] RewriteCond %{HTTP_HOST} ^admin.flashpoint-gaming.hu$ [NC] RewriteCond %{REQUEST_URI} !^/webdav/ RewriteCond %{REQUEST_URI} !^/php5-fcgi/ RewriteCond %{REQUEST_URI} !^/admin/ RewriteRule ^/(.)$ /admin/$1 [R]