タイトル | : Clean URLs with NGINX |
投稿日 | : 2013/10/29(Tue) 13:22 |
投稿者 | : Moro |
server {
listen 80;
server_name example.org;
location / {
root /path/to/drupal;
index index.php;
error_page 404 = @drupal;
}
location @drupal {
rewrite ^(.*)$ /index.php?q=$1 last;
}
}