Feed plugin showing 404 on Nginx

I’ve recently switched my site over from Jekyll to Grav and have been just pleased as punch with the transition. I have hit one particular snag: the feed is serving a 404.

Some details:

  1. The blog collection is served off of the home page
  2. The home page url is hidden
  3. The final version is deployed to a VPS running Nginx (where it is serving a 404 for /home.rss)
  4. The feed was served correctly on my local development machine running apache.

I assume the problem is perhaps with Nginx routing, but I can’t be certain. Any thoughts?

Solved my own issue :wink:

Inspired by a Google search that led me here. It turns out that I had to remove .rss and .atom from the configuration block to send caching headers.


        location ~* ^.+\.(css|js|html|ogg|ogv|svg|svgz|eot|otf|woff|mp4|ttf|atom...
                access_log off;
                log_not_found off;
                expires max;
                add_header Pragma public;
                add_header Cache-Control "public, must-revalidate, proxy-revalidate";

Now the feeds are loading as advertised :smiley: