Forbid Guests to Download Certain Files
-
Can you take a bigger screenshot of the ACP settings page including surrounding settings? I thought it was a whitelist, not a blacklist.
-
@gotwf said in Forbid Guests to Download Certain Files:
@aleksei Iirc, there are separate knobs which make certain file extensions private while also outright forbidding others. Which are you tweaking in your screenshot?
I tried all possible variants.
@baris, and how I can check it? If files are served is it possible to switch the setting via the control panel somewhere? And is it a good decision? Because I heard that serving files via NodeJS is slower than Nginx.
-
You have to remove our comment out the
assets
location block. It may be possible to just exclude uploads, but you'll need to research the nginx syntax for that yourself.