server {
listen 80;
server_name fpm.test.ru;
client_max_body_size 101M;
location / {
root /usr/local/www/della/htdocs/;
index index.html, index.php ;
access_log /var/log/nginx/localhost-access.log main;
error_log /var/log/nginx/localhost-error.log error;
}
location /my/ {
if (!-e $request_filename) {
rewrite ^/$ /my/ permanent;
}
}