summaryrefslogtreecommitdiff
path: root/roles/apps/whawty/auth/instance/templates/listener.yml.j2
blob: 2ac01cb37107c1f6533273e4068089dc1843324c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
https:
  listen:
  - ":1080"
  tls:
    certificate: /tls/publish-crt.pem
    certificate-key: /tls/publish-key.pem
    min-protocol-version: "TLSv1.3"
    prefer-server-ciphers: true
{% if 'ldap' in whawty_auth_instances[whawty_auth_instance] %}
{%   if 'tls' in  whawty_auth_instances[whawty_auth_instance].ldap %}
ldaps:
  listen:
  - ":1636"
  tls:
    certificate: /tls/ldap-crt.pem
    certificate-key: /tls/ldap-key.pem
    min-protocol-version: "TLSv1.3"
    prefer-server-ciphers: true
{%   else %}
ldap:
  listen:
  - ":1389"
{%   endif %}
{% endif %}