Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
nginx configuration for with ghost
location /rss {
# If the UA doesn't contain feedpress or feedvalidator
if ($http_user_agent !~* (feedpress)|(feedvalidator)){
# Redirect the user to your cname'd rss veed link
return 301;
# If you haven't set that up (you should), you can uncomment out the following line
# return 302;
# What happens if the UA contains feedpress or feedvalidator
# In this case, I am using a proxy for my blog
proxy_pass http://blog;

This comment has been minimized.

Copy link
Owner Author

commented Nov 20, 2013

I could only find a version for Apache

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.