Bump PHP version

This commit is contained in:
Ashley Rich 2020-04-25 10:13:39 +01:00
parent 78a7eef119
commit d9bed210fc
3 changed files with 8 additions and 8 deletions

View File

@ -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;
}

View File

@ -1,4 +0,0 @@
# Defines the upstream for PHP 7.0
upstream php70 {
server unix:/run/php/php7.0-fpm.sock;
}

4
upstreams/php73.conf Normal file
View File

@ -0,0 +1,4 @@
# Defines the upstream for PHP 7.3
upstream php73 {
server unix:/run/php/php7.3-fpm.sock;
}