Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Nginx allow access to location which falls under regex deny

$
0
0
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?

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>