Пример конфига server { listen 80; server_name site.ru; root /home/www/site.ru; index index.php; location / { try_files $uri /index.php?$uri; } location /admin { try_files $uri /index.php?$uri; } # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 # location ~ \.php$ {by lolyinseo - Nginx Mailing List - Russian