drupal nginx clean url rewrite rule Posted on 2012 年 01 月 11 日 by 键盘侠 drupal on lnmp server enable clean url, nginx rewrite rule should be this… [cc lang=”bash”] location / { if (!-e $request_filename) { rewrite ^/(.*)$ /index.php?q=$1 last; } } [/cc] 打赏赞微海报分享