Instantly share code, notes, and snippets.
Based on Stack Overflow
rewrite ^(/recommends/)(.*)$ /go/$2 permanent;