diff --git a/global/php-pool.conf b/global/php-pool.conf index 6abdb9c..24203bf 100644 --- a/global/php-pool.conf +++ b/global/php-pool.conf @@ -1,12 +1,12 @@ # Upstream to abstract backend connection(s) for PHP. # Additional upstreams can be added to /etc/nginx/upstreams/*.conf and then you just -# change `default php71` to whatever the new upstream is (could be php70 for example). -upstream php71 { - server unix:/run/php/php7.1-fpm.sock; +# change `default php74` to whatever the new upstream is (could be php73 for example). +upstream php74 { + server unix:/run/php/php7.4-fpm.sock; } include /etc/nginx/upstreams/*.conf; map '' $upstream { - default php71; + default php74; } \ No newline at end of file diff --git a/upstreams/php70.conf b/upstreams/php70.conf deleted file mode 100644 index 3c33dae..0000000 --- a/upstreams/php70.conf +++ /dev/null @@ -1,4 +0,0 @@ -# Defines the upstream for PHP 7.0 -upstream php70 { - server unix:/run/php/php7.0-fpm.sock; -} \ No newline at end of file diff --git a/upstreams/php73.conf b/upstreams/php73.conf new file mode 100644 index 0000000..ced6897 --- /dev/null +++ b/upstreams/php73.conf @@ -0,0 +1,4 @@ +# Defines the upstream for PHP 7.3 +upstream php73 { + server unix:/run/php/php7.3-fpm.sock; +} \ No newline at end of file