roles/dch-proxy: Add haproxy config for Bitwarden

This commit adds an HAProxy backend for Bitwarden, and adds ACL rules to
the frontend to proxy traffic to *bitwarden.pyrocufflink.blue* or
*bitwarden.pyrocufflink.net* to it.
This commit is contained in:
2019-09-19 18:46:59 -05:00
parent c68f9bb6af
commit c676aa2a0b
3 changed files with 18 additions and 0 deletions

View File

@@ -19,6 +19,13 @@
mode=0644
notify: reload haproxy
- name: ensure bitwarden haproxy backend is configured
template:
src=backend-bitwarden.haproxy.cfg.j2
dest=/etc/haproxy/70-backend-bitwarden.cfg
mode=0644
notify: reload haproxy
- name: ensure openvpn haproxy backend is configured
template:
src=backend-openvpn.haproxy.cfg.j2