Just noticed I had } in wrong place, but nginx was working and page was working. I think this (for example) should not work. location / { rewrite ^ /index.php$uri; include /usr/local/nginx/conf/php-pool2.conf; location ~...