My Nginx redirection doesn't work properly

A typical FeedPress redirection in a NGINX looks like the following:

if ($http_user_agent !~ (FeedValidator|FeedPress)){ rewrite ^/feed$ redirect; }

Please note that `^feed$` can change, here I'm redirecting /feed but if you have to redirect `/rss`, it will be `^rss$` and so forth. You have to change **MyCoolWebsite** to your **FeedPress feed name** as well.