Loading renew-certs.yaml +18 −0 Original line number Diff line number Diff line Loading @@ -65,6 +65,24 @@ tags: - host01 - name: Issue certificate for kodi include_tasks: apply: tags: - kodi file: '{{ playbook_dir }}/tasks/renew-cert.yaml' vars: domains: - jellyfin.shore.co.il - kodi.shore.co.il - library.shore.co.il - transmission.shore.co.il handlers: - Restart Nginx on kodi host: kodi tags: - kodi - name: Issue certificate for smtp include_tasks: apply: Loading roles/router/files/haproxy.cfg +4 −2 Original line number Diff line number Diff line Loading @@ -23,9 +23,10 @@ defaults frontend http bind 62.219.131.121:80 mode http acl kodi hdr(host) -i jellyfin.shore.co.il acl kodi hdr(host) -i kodi.shore.co.il acl kodi hdr(host) -i library.shore.co.il acl kodi hdr(host) -i jellyfin.shore.co.il acl kodi hdr(host) -i transmission.shore.co.il use_backend kodi_http if kodi default_backend host01_http Loading @@ -35,9 +36,10 @@ frontend https option tcplog tcp-request inspect-delay 5s tcp-request content accept if { req_ssl_hello_type 1 } acl kodi req_ssl_sni -i jellyfin.shore.co.il acl kodi req_ssl_sni -i kodi.shore.co.il acl kodi req_ssl_sni -i library.shore.co.il acl kodi req_ssl_sni -i jellyfin.shore.co.il acl kodi req_ssl_sni -i transmission.shore.co.il use_backend kodi_https if kodi default_backend host01_https Loading Loading
renew-certs.yaml +18 −0 Original line number Diff line number Diff line Loading @@ -65,6 +65,24 @@ tags: - host01 - name: Issue certificate for kodi include_tasks: apply: tags: - kodi file: '{{ playbook_dir }}/tasks/renew-cert.yaml' vars: domains: - jellyfin.shore.co.il - kodi.shore.co.il - library.shore.co.il - transmission.shore.co.il handlers: - Restart Nginx on kodi host: kodi tags: - kodi - name: Issue certificate for smtp include_tasks: apply: Loading
roles/router/files/haproxy.cfg +4 −2 Original line number Diff line number Diff line Loading @@ -23,9 +23,10 @@ defaults frontend http bind 62.219.131.121:80 mode http acl kodi hdr(host) -i jellyfin.shore.co.il acl kodi hdr(host) -i kodi.shore.co.il acl kodi hdr(host) -i library.shore.co.il acl kodi hdr(host) -i jellyfin.shore.co.il acl kodi hdr(host) -i transmission.shore.co.il use_backend kodi_http if kodi default_backend host01_http Loading @@ -35,9 +36,10 @@ frontend https option tcplog tcp-request inspect-delay 5s tcp-request content accept if { req_ssl_hello_type 1 } acl kodi req_ssl_sni -i jellyfin.shore.co.il acl kodi req_ssl_sni -i kodi.shore.co.il acl kodi req_ssl_sni -i library.shore.co.il acl kodi req_ssl_sni -i jellyfin.shore.co.il acl kodi req_ssl_sni -i transmission.shore.co.il use_backend kodi_https if kodi default_backend host01_https Loading