Nginx rewrite for RSS

Add the following to the main server block in your nginx config: location ~ ^/(?:feed|feeds|rss) { return 301 /post/index.xml; } Now people can go to https://brege.org/rss to find the RSS feed. This rewrite rule could be expanded to match other common feed URI guesses.

October 11, 2016 · 44 words