Answer the question
In order to leave comments, you need to log in
How to restrict a user in nginx rights?
Hello, I want to give the user the ability to edit the nginx config for my site, but I don't want him to touch some of the options. Can this be done somehow?
Answer the question
In order to leave comments, you need to log in
"Part of options" with direct access to the config cannot be limited - the same directives below in the config have a higher priority. We'll have to collective farm a script that would allow changing only the necessary + checking the config for validity.
In general, IMHO, the idea is not very good. It is better to make a common web server, and proxy requests from it to individual ones for each user, which they can break as they please.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question