Fix missing space and remove upstream comment from php config.

This commit is contained in:
Atiladanvi 2021-02-22 16:17:54 -03:00
parent 8eb8d68183
commit ac9e078eb1
1 changed files with 2 additions and 3 deletions

View File

@ -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),