mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-11-05 18:56:09 +08:00
* Joomla! conf * fix bug escape character & ; * remove global and fix presets } * change requests
This commit is contained in:
@@ -37,6 +37,7 @@ import proxyConf from './conf/proxy.conf';
|
||||
import wordPressConf from './conf/wordpress.conf';
|
||||
import drupalConf from './conf/drupal.conf';
|
||||
import magentoConf from './conf/magento.conf';
|
||||
import joomlaConf from './conf/joomla.conf';
|
||||
import dockerComposeYaml from './yaml/dockerCompose.yaml';
|
||||
import dockerConf from './ext/docker';
|
||||
|
||||
@@ -94,6 +95,10 @@ export default (domains, global) => {
|
||||
if (domains.some(d => d.php.magentoRules.computed))
|
||||
files['nginxconfig.io/magento.conf'] = toConf(magentoConf());
|
||||
|
||||
// Joomla
|
||||
if (domains.some(d => d.php.joomlaRules.computed))
|
||||
files['nginxconfig.io/joomla.conf'] = toConf(joomlaConf());
|
||||
|
||||
} else {
|
||||
// PHP
|
||||
if (domains.some(d => d.php.wordPressRules.computed))
|
||||
|
||||
Reference in New Issue
Block a user