Re: How to forbid access to files server wide via nginx temp
Posted: Sun Apr 19, 2015 12:05 am
I think you shou do it at your Personal Nginx.conf .Location at /home/username/conf/web/nginx.conf
you can add directory on it .
may be place it before other localtion code.
Code: Select all
location =/2.php{
return 404;
}
may be place it before other localtion code.