Welcome! Log In Create A New Profile

Advanced

nginx rewrite rule exclude numbers

Posted by ankitt08 
nginx rewrite rule exclude numbers
June 26, 2013 02:09AM
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.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 303
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready