location /{ try_files $uri $uri/ /index.php$is_args$args; } location ~ \.htaccess{ deny all; }