Getting 404 error page

I’m getting a 404 error page when trying to visit other pages from my site. The home page loads fine. I’ve set the rewrite rules according to the example nginx.conf in the grav folder.

I’m using nginx on a local elementary OS machine. Let me know if you need additional info.

Can you please paste the exact Nginx.conf you are using? Do you have an externally accessible URL I can see?

The Grav site will need it’s own virtual host config, you can’t use sub-directories like in Apache.Like

Oh I see! I’m using a sub-directory. I’ll try without the sub-dir and let you know.

Awesome! That fixed the problem. Thanks a lot!

Glad that was it! :slight_smile: