T
T
Twelfth Doctor2017-08-05 23:51:40
css
Twelfth Doctor, 2017-08-05 23:51:40

Is it possible to run Nginx as root?

Hello. Can you please tell me if it is possible to run root as root and what is the risk?
It’s just that my sites are in the home directories of users, the rights to folders with sites are 700, and if Nginx is run as root, it will be able to read static content, regardless of whether it has rights to read the directory or not. Or is there an analogue of Apache mpm_itk for nginx?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
R
RAX7, 2019-03-17
@Hello00

Your png image is already translucent, just overlay it on top of the background color

A
A person from Kazakhstan, 2019-03-17
@LenovoId

It's possible in SVG, but I'm a little in the wrong
place Apply a mask ... the colors in the SVG mask are transparent .... for example, #fff is completely transparent and #000 is not transparent ... and therefore we need to look for intermediate options

G
GavriKos, 2017-08-05
@GavriKos

Well, technically, you can. In practice - it's better to set up folder permissions and the nginx group

S
Sanes, 2017-08-06
@Sanes

https://bitbucket.org/Drobkov/userplus-webserver-u...

C
CityCat4, 2017-08-06
@CityCat4

Can. But not necessary. Hacking any site - and hello, server, I still wanted to rearrange you for a long time ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question