Is it possible in nginx configure different user per virtual host?
Something like
server {
user myprojectuser myprojectgroup;
...
}
|
|
|
No, because all server stanzas in an nginx config are served from the same set of worker processes. Furthermore, from a security perspective, you're better to run it like that, as it means that the content is automatically unwritable by the webserver (absent stupidities like a |
|||||||||||||||
|