Thanks for the replies .
I figured out the issue . This was not related to Nginx Config . The
requests i was trying to route had an issue .
Btw , I shifted to map as well and both configurations worked.
Thanks for your comments and appreciate it .
Posted at Nginx Forum:
http://forum.nginx.o
Hi ,
I am trying to setup different authentication based on different strings in
the $request , here is my case .
location /parent/ {
set $basic_file /nginx/conf/.htpasswd;
if ($request_uri ~ (visualize|dashboard|settings)){
set $basic_f