Hello anybody,
Could you tell me how to block users download direct files on the server?
I've setup config Nginx to deny all, and allow slave servers can get it. But it not work.
location ~ /.txt {
allow SLAVE_IP_SERVER;
deny all;
return 404;
}
Thanks so much.