php-fpm: load mod_fastcgi; reorganise php-fpm config
This commit is contained in:
parent
15918a7e1b
commit
0687924c8d
2 changed files with 10 additions and 5 deletions
|
@ -1,3 +1,8 @@
|
|||
server.modules = (
|
||||
"mod_indexfile",
|
||||
"mod_fastcgi"
|
||||
)
|
||||
|
||||
server.document-root = "/srv"
|
||||
server.port = 3000
|
||||
index-file.names = ( "index.html" )
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
pid = /run/php-fpm.pid
|
||||
|
||||
; Log to stdout/stderr 'cause Nomad
|
||||
; ....we really need to replace Nomad >_<
|
||||
access.log = /proc/self/fd/2
|
||||
error_log = /proc/self/fd/2
|
||||
|
||||
[www]
|
||||
user = www-data
|
||||
group = www-data
|
||||
|
@ -11,8 +16,3 @@ pm.max_children = 8
|
|||
pm.start_servers = 2
|
||||
pm.min_spare_servers = 1
|
||||
pm.max_spare_servers = 2
|
||||
|
||||
; Log to stdout/stderr 'cause Nomad
|
||||
; ....we really need to replace Nomad >_<
|
||||
access.log = /proc/self/fd/2
|
||||
error_log = /proc/self/fd/2
|
Loading…
Reference in a new issue