Bump PHP version
This commit is contained in:
parent
78a7eef119
commit
d9bed210fc
@ -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;
|
||||
}
|
||||
@ -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
4
upstreams/php73.conf
Normal file
@ -0,0 +1,4 @@
|
||||
# Defines the upstream for PHP 7.3
|
||||
upstream php73 {
|
||||
server unix:/run/php/php7.3-fpm.sock;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user