Topic: monstra 3.0.1 on nginx

I have installed monstra 3.0.1 on my pc with nginx.
Then the monstra.demo/admin show me  404 page.
The monstra.demo/admin/index.php work well.

server {
    listen         80;
    server_name    monstra.demo;
    access_log   /var/log/nginx/monstra.net_access.log;
    error_log    /var/log/nginx/monstra.net_error.log;
    root /home/www/monstra;
    index index.php;
    location ~* ^.+\.(jpg|jpeg|gif|png|ico|css|txt|js|map)$ {
        expires 1d;
    }
    location / {
        rewrite /home / permanent;
        rewrite ^/(.+)$ /index.php;
    }
    location ~ \.php$ {
            include        fastcgi_params;
            fastcgi_pass   unix:/var/run/php5-fpm.sock;
            fastcgi_param  SCRIPT_FILENAME $document_root$fastcgi_script_name;
    }
}

2 (edited by ericliyiwu 2014-12-24 16:40:25)

Re: monstra 3.0.1 on nginx

What's wrong with the nginx config .

Does it  a bug in monstra?

Somebody help me.

thanks.

new bug
I use the guestbook plugin. After i submit the message, then return the url to  mostra.demoguestbook not mostra.demo/guestbook.