Fix missing space and remove upstream comment from php config.
This commit is contained in:
parent
8eb8d68183
commit
ac9e078eb1
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
Copyright 2020 DigitalOcean
|
Copyright 2021 DigitalOcean
|
||||||
|
|
||||||
This code is licensed under the MIT License.
|
This code is licensed under the MIT License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
|
@ -286,8 +286,7 @@ export default (domain, domains, global) => {
|
||||||
|
|
||||||
// PHP
|
// PHP
|
||||||
if (domain.php.php.computed) {
|
if (domain.php.php.computed) {
|
||||||
if (domain.php.phpBackupServer.computed){
|
if (domain.php.phpBackupServer.computed) {
|
||||||
config.push(['# upstream', '']);
|
|
||||||
config.push([`upstream ${phpUpstream(domain)}`, {
|
config.push([`upstream ${phpUpstream(domain)}`, {
|
||||||
server: [
|
server: [
|
||||||
phpPath(domain),
|
phpPath(domain),
|
||||||
|
|
Loading…
Reference in New Issue