How can I enable HTTP Basic Auth for everything except for a certain file?
Here is my current server block configuration for the location:
locat
Only auth_basic off didn't work for me If we have to skip auth for ALL uri's under our url
location ^~ /some/location/to_skip/ { auth_basic off; try_files $uri $uri/ /index.html; }