allow to not change fast cgi socket permissions
New config options: fcgi_set_socket_chmod (bool) - default true fcgi_set_socket_owner (bool) - default true
This commit is contained in:
@@ -143,16 +143,29 @@ public:
|
||||
// fast cgi: socket (unix domain)
|
||||
std::wstring fcgi_socket;
|
||||
|
||||
// fast cgi: whether to change chmod of the socket
|
||||
// default: true
|
||||
// if true then you should set fcgi_socket_chmod as well
|
||||
bool fcgi_set_socket_chmod;
|
||||
|
||||
// fast cgi: whether to change owner/group of the socket
|
||||
// default: true
|
||||
// if true then you should set fcgi_socket_user and fcgi_socket_group as well
|
||||
bool fcgi_set_socket_owner;
|
||||
|
||||
// fast cgi: socket permissions
|
||||
// taken into account if fcgi_set_socket_chmod is true
|
||||
// chmod and chown of the socket are set before winix drops privileges
|
||||
int fcgi_socket_chmod;
|
||||
|
||||
// fast cgi: owner of the socket
|
||||
// chmod and chown of the socket are set before winix drops privileges
|
||||
// taken into account if fcgi_set_socket_owner is true
|
||||
std::wstring fcgi_socket_user;
|
||||
|
||||
// fast cgi: group of the socket
|
||||
// chmod and chown of the socket are set before winix drops privileges
|
||||
// taken into account if fcgi_set_socket_owner is true
|
||||
std::wstring fcgi_socket_group;
|
||||
|
||||
// fcgi_socket_listen is the listen queue depth used in the listen() call
|
||||
|
Reference in New Issue
Block a user