Skip to content
Snippets Groups Projects
Select Git revision
  • 857f0b59416df1eef80a8eb044e44d4749a2bd7c
  • master default protected
  • th/caddy-wip
  • th/caddy
  • th/lego
  • th/acmebot
  • pyzabbix
  • th/keycloak
8 results

local.protected.php.j2

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    local.protected.php.j2 950 B
    <?php
    
    {% if item.ad %}
    $conf['authtype'] = 'authad';
    $conf['plugin']['authad']['account_suffix'] = '@{{ item.ad_domain }}';
    $conf['plugin']['authad']['base_dn'] = '{{ item.ad_basedn }}';
    $conf['plugin']['authad']['domain_controllers'] = '{{ item.ad_controller }}';
    $conf['plugin']['authad']['admin_username'] = '{{ item.ad_user }}';
    $conf['plugin']['authad']['admin_password'] = '{{ item.ad_password }}';
    $conf['plugin']['authad']['use_tls'] = 1;
    $conf['plugin']['authad']['recursive_groups'] = '1';
    $conf['plugin']['authad']['update_mail'] = 0;
    $conf['disableactions'] = 'register,profile_delete,resendpwd';
    $conf['superuser'] = '{{ item.ad_superuser }}';
    $conf['manager'] = '{{ item.ad_manager }}';
    {% endif %}
    
    $conf['passcrypt'] = 'ssha';
    $conf['mailfrom'] = '{{ item.mail }}';
    $conf['htmlmail'] = 0;
    $conf['userewrite'] = '1';
    $conf['gzip_output'] = 1;
    $conf['xsendfile'] = 0;
    $conf['updatecheck'] = 0;
    $conf['useacl'] = 1;
    $conf['phpok'] = 0;