Answer the question
In order to leave comments, you need to log in
How to write nginx rules correctly?
Tell me how to properly deny access to the entire folder, subfolders and files except for one subfolder.
That is, for example, there is a directory: /folder
There are many folders in it, including the /allow folder.
Access to /folder and all subdirectories except /allow must be denied.
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