Navigation Links returns NginX 404?

Finally broke down and spent a weekend working with GRAV. Rather, spent some of the weekend working with GRAV, the rest was learning how to setup a LEMP stack on Digital Ocean. Good times, and I’ve very impressed with GRAV thus far. Everything’s up and running well, except for the fact that new pages in GRAV—while showing in the navigation as expected—only return an NginX 404 Page Not Found error. Not sure why? Under /users/pages I have “01.Home” and “02.About”. Custom Navigation name (menu:) works as expected. Link is correct. So this, to me, points to an NginX mis-configuration? Totally stumped and gotta fix it before I can move on with this excellent CMS! Anyone got any clues or ran into this?

Got it! The Troubleshooting Documentation [link]http://learn.getgrav.org/troubleshooting/page-not-found[/link] was describing my problem, but the solution was in Apache, namely the .htaccess file. I’m new to NginX, coming from Apache, and that got me to thinking maybe I needed to convert it to a format that NginX preferred. Well, that led me to [link]http://stackoverflow.com/questions/8711678/change-apache-htaccess-file-to-be-used-with-nginx , and finally to the .htaccess2nginx converter tool at http://www.anilcetin.com/convert-apache-htaccess-to-nginx/
Works great now!
Hope this helps someone!

hi. i have the same trouble. can you help me and send to me your nginx configuration please…so much 404 is so bad ^^^

A very minimal but functional nginx.conf is:

server {
        #listen 80 default_server;
        index index.html index.php;
        root /home/pi/www/blog;

        server_name localhost;

        location / {
                try_files $uri $uri/ /index.html;
                if (!-e $request_filename){ rewrite ^(.*)$ /index.php last; }
        }

        location ~ \.php$ {
                fastcgi_split_path_info ^(.+\.php)(/.+)$;
                fastcgi_pass unix:/var/run/php5-fpm.sock;
                fastcgi_index index.php;
                include fastcgi_params; 
                fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
        }
}