mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-11-06 11:56:15 +08:00
Match current behaviour for unified + wordpress
This commit is contained in:
@@ -77,6 +77,10 @@ export default (domains, global) => {
|
||||
if (domains.some(d => d.php.magentoRules.computed))
|
||||
files.push(['nginxconfig.io/magento.conf', toConf(magentoConf())]);
|
||||
|
||||
} else {
|
||||
// PHP
|
||||
if (domains.some(d => d.php.wordPressRules.computed))
|
||||
files.push(['nginxconfig.io/php_fastcgi.conf', toConf(phpConf(domains, global))]);
|
||||
}
|
||||
|
||||
return files;
|
||||
|
||||
Reference in New Issue
Block a user