Welcome! Log In Create A New Profile

Advanced

Re: Securing nginx: Workers per server block under specific user?

Alexander Kunz - Wishmedia GmbH
August 26, 2013 07:32AM
Am 26.08.2013 13:23, schrieb Valentin V. Bartenev:
> On Monday 26 August 2013 15:14:32 - - wrote:
> [...]
>> That
>> is really bad because I would have the same security problem as I had
>> before with cherokee. With one line of php he could read from any "site"
>> folder (see above). I could tackle that problem by assigning rwx------
>> permissions to all files, but then I would probably be busier with
>> changing file permissions that developing websites ...
>>
>
> Nginx doesn't execute php, so what is the problem then?
>
> wbr, Valentin V. Bartenev


Try to use php-fpm, there you can define pools with a specific username
for each pool.

Kind regards

Alexander Kunz

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Securing nginx: Workers per server block under specific user?

- - August 26, 2013 07:16AM

Re: Securing nginx: Workers per server block under specific user?

Valentin V. Bartenev August 26, 2013 07:24AM

Re: Securing nginx: Workers per server block under specific user?

Alexander Kunz - Wishmedia GmbH August 26, 2013 07:32AM

Re: Securing nginx: Workers per server block under specific user?

mex September 02, 2013 03:06AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 316
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready