23 lines
808 B
Plaintext
23 lines
808 B
Plaintext
---
|
|
|
|
haproxy_local_config_path: "reverse-proxy/haproxy.cfg"
|
|
haproxy_list_tls:
|
|
- wildcard.felcloud.io
|
|
haproxy_nbproc: 1
|
|
public_vip_address:
|
|
- "{{ vip_console_mongi.all_fixed_ips | first }}"
|
|
haproxy_first_tls: "/etc/haproxy/tls/wildcard.felcloud.io.pem"
|
|
default_backend: "mongi_console"
|
|
haproxy:
|
|
backends:
|
|
- name: nosql
|
|
frontend: "mongi-dev-db.felcloud.io"
|
|
servers:
|
|
- "acl draw-auth http_auth(basic-auth-list)"
|
|
- "http-request auth realm draw unless draw-auth"
|
|
- "server {{ groups['mongi_console_database'][0] }} {{ hostvars[groups['mongi_console_database'][0]]['ansible_host'] }}:3000"
|
|
- name: mongi_console
|
|
frontend: "mongi-dev.felcloud.io"
|
|
servers:
|
|
- "server {{ groups['mongi_console_web'][0] }} {{ hostvars[groups['mongi_console_web'][0]]['ansible_host'] }}:9090"
|