location / {
index index.php;
try_files $uri $uri/ /index.php?$query_string;
}
location ~ /\.ht {
deny all;