HSAdmin Backend Domains, E-Mail, Datenbanken
Peter Hormanns
2019-12-03 b08bc28593bb48680244ab548b4d460859265a1b
add autoconfig to vhost template
1 files modified
2 ■■■ changed files
hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java 2 ●●● patch | view | raw | blame | history
hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java
@@ -311,7 +311,7 @@
        ifOption(templateVars, query, "multiviews", "+MultiViews", "-MultiViews");
        ifOption(templateVars, query, "htdocsfallback", Boolean.TRUE, Boolean.FALSE);
        ifOption(templateVars, query, "letsencrypt", Boolean.TRUE, Boolean.FALSE);
        ifOption(templateVars, query, "phplatest", Boolean.TRUE, Boolean.FALSE);
        ifOption(templateVars, query, "autoconfig", Boolean.TRUE, Boolean.FALSE);
        final boolean isSetLetsencryptOption = templateVars.get("letsencrypt").equals(Boolean.TRUE);
        final Processor domSetupProcessor = new CompoundProcessor(
            isSetLetsencryptOption ? new NullProcessor() : new ShellProcessor("rm -f /etc/apache2/pems-generated/" + domName + ".crt"),