Answer the question
In order to leave comments, you need to log in
nginx. How to make exceptions for basic auth?
Hello.
There is a page, it lies at https://site.com/download/test/
I put auth_basic there.
But since the page requests resources from the same folder: https://site.com/download/test/test.zip , https://site.com/download/test/test2.zip , etc., authorization is requested several times. How can I make it request only at the level https://site.com/download/test/index.html ? And if it is passed, then further resources from this folder no longer requested authorization.
thanks in advance
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question