diff --git a/global/php-pool.conf b/global/php-pool.conf index 6abdb9c..4f87b7a 100644 --- a/global/php-pool.conf +++ b/global/php-pool.conf @@ -1,12 +1,13 @@ # 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; -} + +#upstream php71 { +# server unix:/run/php/php7.1-fpm.sock; +#} include /etc/nginx/upstreams/*.conf; map '' $upstream { - default php71; -} \ No newline at end of file + default php73; +} diff --git a/upstreams/php73.conf b/upstreams/php73.conf new file mode 100644 index 0000000..0450641 --- /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; +}