forked from spinupwp/wordpress-nginx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
78a7eef
commit d9bed21
Showing
3 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} |