diff options
Diffstat (limited to 'chaos-at-home')
-rw-r--r-- | chaos-at-home/ch-http-proxy.yml | 54 |
1 files changed, 50 insertions, 4 deletions
diff --git a/chaos-at-home/ch-http-proxy.yml b/chaos-at-home/ch-http-proxy.yml index 627343e6..f90939d0 100644 --- a/chaos-at-home/ch-http-proxy.yml +++ b/chaos-at-home/ch-http-proxy.yml @@ -123,7 +123,51 @@ name: nginx/vhost - #### webmail.chaos-at-home.org + #### webmail.chaos-at-home.org and webdav.chaos-at-home.org + - name: create directory for prometheus-old ca cert + file: + path: /etc/ssl/prometheus-old-ca + state: directory + + - name: install prometheus-old ca cert + copy: + dest: /etc/ssl/prometheus-old-ca/ca.pem + content: | + -----BEGIN CERTIFICATE----- + MIIF6jCCA9KgAwIBAgIUXDQZo0d3tcTa4oilKki+E9md8GIwDQYJKoZIhvcNAQEN + BQAwgYwxCzAJBgNVBAYTAkFUMQ8wDQYDVQQIEwZTdHlyaWExDTALBgNVBAcTBEdy + YXoxFjAUBgNVBAoTDWNoYW9zLWF0LWhvbWUxFzAVBgNVBAsTDnByb21ldGhldXMt + b2xkMSwwKgYDVQQDEyNjaGFvcy1hdC1ob21lIENBIGZvciBwcm9tZXRoZXVzLW9s + ZDAeFw0yMDA4MjgyMTMwMDBaFw0yNTA4MjcyMTMwMDBaMIGMMQswCQYDVQQGEwJB + VDEPMA0GA1UECBMGU3R5cmlhMQ0wCwYDVQQHEwRHcmF6MRYwFAYDVQQKEw1jaGFv + cy1hdC1ob21lMRcwFQYDVQQLEw5wcm9tZXRoZXVzLW9sZDEsMCoGA1UEAxMjY2hh + b3MtYXQtaG9tZSBDQSBmb3IgcHJvbWV0aGV1cy1vbGQwggIiMA0GCSqGSIb3DQEB + AQUAA4ICDwAwggIKAoICAQDS1hSM5E7mhsv1c3S+cPmjxWAFz8N9xqSGk4JjRNxR + wsM7o2aS18FZus+w/Ikp3sTfyNiK017lrnD1iwkTV+yHV9FFNq5FC7Jry3kZcjhH + HirmRFJhXvsimsK6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VVQc+u3TLwqFaexXwG5382jD3n4uAr65SM + zP2O8JWZMukdWSP2cAFkKCNUCpYNiA0cyCtdtNw+vWqXXFdc0uvnILROB/dQ6RJA + MviUhGFMdtcoW/bMXDlpJTVFQhhFwJmMatvPIAq9Z+OkvV+T/y87NfE/KUDKB+Hy + oFx9xgax8wsZUNEZMyDMVGcV1oLn1/dsKhHShYVQsDoJcc1egkL+Di8TtT7SwNxg + zT1Rzi1tmVUMLM+CeyP1bbf4YPrH4ulk1Evj2ZHzF6hwKxavvm8hHidmd82FVcik + ePVA2hh60RUIGEAKyJS23SWUdaFe5+hxxYFQ3qAB + -----END CERTIFICATE----- + - name: configure vhost for webmail.chaos-at-home.org vars: nginx_vhost: @@ -135,6 +179,8 @@ client_max_body_size: "200M" proxy_pass: "https://{{ network_zones.lan.prefix | ipaddr(network_zones.lan.offsets['ch-prometheus-old']) | ipaddr('address') }}/" proxy_ssl: + verify: "on" + trusted_certificate: /etc/ssl/prometheus-old-ca/ca.pem protocols: TLSv1 ciphers: "DEFAULT@SECLEVEL=1" acmetool_cert_config: @@ -144,8 +190,6 @@ include_role: name: nginx/vhost - - #### webdav.chaos-at-home.org - name: configure vhost for webdav.chaos-at-home.org vars: nginx_vhost: @@ -156,6 +200,8 @@ - webdav.chaos-at-home.org proxy_pass: "https://{{ network_zones.lan.prefix | ipaddr(network_zones.lan.offsets['ch-prometheus-old']) | ipaddr('address') }}/" proxy_ssl: + verify: "on" + trusted_certificate: /etc/ssl/prometheus-old-ca/ca.pem protocols: TLSv1 ciphers: "DEFAULT@SECLEVEL=1" acmetool_cert_config: @@ -166,7 +212,7 @@ name: nginx/vhost - #### imap.chaos-at-home.or + #### imap.chaos-at-home.org - name: configure vhost for imap.chaos-at-home.org vars: nginx_vhost: |