Welcome! Log In Create A New Profile

Advanced

Nginx allow access to location which falls under regex deny

Posted by gersangreal 
Nginx allow access to location which falls under regex deny
March 15, 2016 07:26AM
Hi everyone! I have a problem with my nginx configuration. I have a deny rule in the root location like this

location ~* "/([a-z]{2})/lib/"
but I want to add some exclude for this rule, I need access to this location
.../js/lib/
because json scripts don't work. Could please some one help me with my issue?
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 189
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