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