Need some help with Nginx write rule such that: All urls of type:- /1.1.1/xyz/abc/z.js /2.2.2/xyz/def/c.css are re-directed to /xyz/abc/z.js /xyz/def/c.css Want to exclude the numeric part which comes at the beginning of URL.