迁移后 drupal clean url 不起作用 (nginx)

drupal clean url doesn't work after migration (nginx)

服务器是 Debian 7。

LEMP(nginx1.8, php5.6)

http://82.146.60.88/drupal.dev/

有什么帮助吗?

这是我的 nginx drupal.conf

我已经尝试重写 ^/(.*)$ /index.php?q=$1;在位置 @rewrite 部分,但对我不起作用((

server 
{
server_name drupal.dev; 
root /usr/share/nginx/html/drupal.dev;
gzip_static on;

location = /favicon.ico {
        log_not_found off;
        access_log off;
}
location = /robots.txt {
        allow all;
        log_not_found off;
        access_log off;
}
location ~* \.(txt|log)$ {
        allow 192.168.0.0/16;
        deny all;
}
location ~ \..*/.*\.php$ {
        return 403;
}
location ~ ^/sites/.*/private/ {
        return 403;
}
location ~ (^|/)\. {
        return 403;
}
location / {
        # This is cool because no php is touched for static content
        try_files $uri @rewrite;
}
location @rewrite {

        rewrite ^ /index.php;

}
location ~ \.php$ {
        fastcgi_split_path_info ^(.+\.php)(/.+)$;

        include fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $request_filename;
        fastcgi_intercept_errors on;
        fastcgi_pass 127.0.0.1:9000;
}
location ~ ^/sites/.*/files/styles/ {
        try_files $uri @rewrite;
}
location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
        expires max;
        log_not_found off;
}
  }                  

看起来它正在运行。该站点位于 http://82.146.60.88 不需要 /drupal.dev 路径