Welcome! Log In Create A New Profile

Advanced

Configuration for running fastcgi as different users

Frank Church
November 05, 2010 09:20PM
When I look at the nginx examples involving php-fastcgi or spawn-fcgi
running in /etc/init.d I get the impression that they are for the main nginx
process running as the www-data user.

The CGI process linked to a port is also linked to a particular user.

Does that mean that if different users are to run their fastcgi in their
home folders with their own user permissions like Apache's suexec a
separate fastcgi in /etc/init.d must be created for them?

The other point is the master user runs as the www-data user. Does this mean
that all file permissions must be at must be readable by the 'other' user?

Is it possible to have multiple master processes running as different users
on different ports, ie not just 'user= www-data' in the main nginx.conf
file, using different nginx.conf files concurrently?

--
Frank Church

=======================
http://devblog.brahmancreations.com
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Configuration for running fastcgi as different users

Frank Church November 05, 2010 09:20PM

Re: Configuration for running fastcgi as different users

mike November 05, 2010 09:36PM

Re: Configuration for running fastcgi as different users

Frank Church November 05, 2010 09:48PM

Re: Configuration for running fastcgi as different users

mike November 05, 2010 10:58PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 140
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