12 lines
359 B
Plaintext
12 lines
359 B
Plaintext
# Upstream to abstract backend connection(s) for PHP.
|
|
# Additional upstreams can be added to /etc/nginx/upstreams/*.conf and then you just
|
|
# 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 php74;
|
|
} |