mirror of
https://github.com/netfun2000/docker-php-nginx.git
synced 2026-04-22 08:39:51 +08:00
Updated to PHP7.1. Improved the overall config based on the trafex/wordpress image
This commit is contained in:
@@ -26,3 +26,6 @@ pm.process_idle_timeout = 10s;
|
||||
; endless request processing specify '0'. Equivalent to PHP_FCGI_MAX_REQUESTS.
|
||||
; Default Value: 0
|
||||
pm.max_requests = 500
|
||||
|
||||
; Make sure the FPM workers can reach the environment variables for configuration
|
||||
clear_env = no
|
||||
|
||||
@@ -65,5 +65,4 @@ http {
|
||||
deny all;
|
||||
}
|
||||
}
|
||||
include conf.d/*.conf;
|
||||
}
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
[Date]
|
||||
date.timezone="Europe/Amsterdam"
|
||||
date.timezone="UTC"
|
||||
|
||||
@@ -7,6 +7,8 @@ stdout_logfile=/dev/stdout
|
||||
stdout_logfile_maxbytes=0
|
||||
stderr_logfile=/dev/stderr
|
||||
stderr_logfile_maxbytes=0
|
||||
autorestart=false
|
||||
startretries=0
|
||||
|
||||
[program:nginx]
|
||||
command=nginx -g 'daemon off;'
|
||||
@@ -14,3 +16,5 @@ stdout_logfile=/dev/stdout
|
||||
stdout_logfile_maxbytes=0
|
||||
stderr_logfile=/dev/stderr
|
||||
stderr_logfile_maxbytes=0
|
||||
autorestart=false
|
||||
startretries=0
|
||||
|
||||
Reference in New Issue
Block a user