I’m trying to configure following setup.
- I’ve a staging environment: staging.example.com
- I have put it behind HTTP AUTH with following config in my nginx conf file
- Now I want to exclude / whitelist two finds of URLs for this environment.
I’ve tried various combinations of following with location regex configs but have not succeeded in this.
Is it possible that I’m trying to achieve or I’m doing something wrong in nginx concepts ?
Hope anyone can help out here.