charset utf-8;
autoindex off;
location / {
try_files $uri $uri/ /index.php?route=$request_uri;
}
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass unix:/var/run/php-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
}