make fpm user and group configurable
This commit is contained in:
parent
c914940180
commit
eed80de273
@ -20,8 +20,17 @@
|
|||||||
; Unix user/group of processes
|
; Unix user/group of processes
|
||||||
; Note: The user is mandatory. If the group is not set, the default user's group
|
; Note: The user is mandatory. If the group is not set, the default user's group
|
||||||
; will be used.
|
; will be used.
|
||||||
|
{{if (getenv "FPMUSER")}}
|
||||||
|
user = {{getenv "FPMUSER"}}
|
||||||
|
{{else}}
|
||||||
user = nobody
|
user = nobody
|
||||||
|
{{end}}
|
||||||
|
|
||||||
|
{{if (getenv "FPMGROUP")}}
|
||||||
|
group = {{getenv "FPMGROUP"}}
|
||||||
|
{{else}}
|
||||||
group = nobody
|
group = nobody
|
||||||
|
{{end}}
|
||||||
|
|
||||||
; The address on which to accept FastCGI requests.
|
; The address on which to accept FastCGI requests.
|
||||||
; Valid syntaxes are:
|
; Valid syntaxes are:
|
||||||
|
Loading…
Reference in New Issue
Block a user