Skip to content

Commit

Permalink
Bump PHP version
Browse files Browse the repository at this point in the history
  • Loading branch information
A5hleyRich committed Apr 25, 2020
1 parent 78a7eef commit d9bed21
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions global/php-pool.conf
Original file line number Diff line number Diff line change
@@ -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;
}
4 changes: 0 additions & 4 deletions upstreams/php70.conf

This file was deleted.

4 changes: 4 additions & 0 deletions upstreams/php73.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Defines the upstream for PHP 7.3
upstream php73 {
server unix:/run/php/php7.3-fpm.sock;
}

0 comments on commit d9bed21

Please sign in to comment.