Answer the question
In order to leave comments, you need to log in
How to isolate multiple sites without Docker?
Hello.
Can you please tell me the best way to differentiate access to several sites with bare Ubuntu 16.04 and without using containerization tools? In general, is it possible?
It is necessary that the site /var/www/site1 can read and execute only its own directory and not have read and write permissions, for example, in /var/www/site2.
The server uses nginx + php7.4
Answer the question
In order to leave comments, you need to log in
Spread across directories with different owners and set up different users for PHP pools. You pretty much described everything yourself :)
Run one nginx as reverse proxy and each site in a separate chroot
https://www.vennedey.net/resources/3-Secure-webspa...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question