н
server {
listen 80;
root /var/www/html;
index index.php index.html index.htm index.nginx-debian.html;
server_name example.com;
location ~ /2w/\.php$ {
root где лежитат файлы;
include snippets/fastcgi-php.conf;
fastcgi_pass unix:путь до.sock;
}
location ~ /2w/\.php$ {
root где лежитат файлы;
include snippets/fastcgi-php.conf;
fastcgi_pass unix:путь до.sock;
}
все остальное по аналогии
}

