Answer the question
In order to leave comments, you need to log in
How to isolate sites on the server from each other?
If on the server to space 1 site - 1 user. What rights to set on the site directory? It turns out that the user and the server must have access to the site directory. Means it is also necessary to add the server to group to the user?
The nginx / ubuntu
Docker server is not suitable for each site, since there are many sites and it is too expensive in terms of resources
Answer the question
In order to leave comments, you need to log in
1 site 1 user and from this user pool php-fpm.
Right, as usual. Directories 755, files 644, owner user and group of the same name.
See an example of setting up such an environment.
I would restrict access with the usual chmod and for each user I would create a separate fpm pool on behalf of this user.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question