S
S
Sergey Vasiliev2022-04-19 11:43:12
Nginx
Sergey Vasiliev, 2022-04-19 11:43:12

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

3 answer(s)
K
ky0, 2022-04-19
@ky0

"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.

A
axblue, 2016-10-09
@GaserV

/views/vendor/header.blade.php
what do you have in header.blade.php ?

G
GaserV, 2016-10-09
@GaserV

Understood. I did it all over again and everything smelled) Thank you.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question