mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-08-16 11:37:49 +02:00
Updated Ubuntu to 18.04 (bionic) release
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
user www-data;
|
||||
worker_processes 5;
|
||||
worker_rlimit_nofile 256000;
|
||||
#worker_rlimit_nofile 256000;
|
||||
|
||||
error_log /dev/fd/2 warn;
|
||||
|
||||
|
@ -5,4 +5,4 @@ upload_max_filesize=2M
|
||||
max_input_time=300
|
||||
always_populate_raw_post_date=-1
|
||||
; date.timezone=Europe/Riga
|
||||
session.save_path=/var/lib/php5
|
||||
session.save_path=/var/lib/php7
|
@ -15,8 +15,8 @@ redirect_stderr=true
|
||||
stdout_logfile = /dev/stdout
|
||||
stdout_logfile_maxbytes = 0
|
||||
|
||||
[program:php5-fpm]
|
||||
command = /usr/sbin/%(program_name)s -F -c /etc/php5/fpm/php-fpm.conf
|
||||
[program:php-fpm7.2]
|
||||
command = /usr/sbin/%(program_name)s -F -c /etc/php/7.2/fpm/php-fpm.conf
|
||||
auto_start = true
|
||||
autorestart = true
|
||||
|
||||
|
@ -51,7 +51,7 @@ server {
|
||||
}
|
||||
|
||||
location ~ .php$ {
|
||||
fastcgi_pass unix:/var/run/php5-fpm.sock;
|
||||
fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
|
||||
fastcgi_index index.php;
|
||||
|
||||
fastcgi_param SCRIPT_FILENAME $webroot$fastcgi_script_name;
|
||||
|
@ -75,7 +75,7 @@ server {
|
||||
}
|
||||
|
||||
location ~ .php$ {
|
||||
fastcgi_pass unix:/var/run/php5-fpm.sock;
|
||||
fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
|
||||
fastcgi_index index.php;
|
||||
|
||||
fastcgi_param SCRIPT_FILENAME $webroot$fastcgi_script_name;
|
||||
|
Reference in New Issue
Block a user