We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
How to forbid access to files server wide via nginx template
Re: How to forbid access to files server wide via nginx temp
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.
Re: How to forbid access to files server wide via nginx temp
Use this special template for destined users and rebuild web.GreenUnicorn wrote:well i need it server wide, not just for one user
Doh )
Re: How to forbid access to files server wide via nginx temp
Yep, make new template your own template with restriction and use for server users.GreenUnicorn wrote:which special template?