server {
server_name vma.example.com;
access_log /var/log/nginx/vma.example.com.access.log;
error_log /var/log/nginx/vma.example.com.error.log;
root /usr/local/vimbadmin/public;
index index.php;
location / {
try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
try_files $uri =404;
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
}
}