I want my server to refuse to view and download all non-php files, So i wrote this code in "nginx.conf":
I restarted the server, did some testing, and found that it didn't work. Where is the mistake, please?
I want my server to refuse to view and download all non-php files, So i wrote this code in "nginx.conf":
I restarted the server, did some testing, and found that it didn't work. Where is the mistake, please?
Instead of using a negate block you can use something like below