You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
372 B
YAML

---
backend: "{{ (backend_port is defined) | ternary(backend_port, backend_socket) }}"
backend_full: "{{ (backend_type == 'port') | ternary('localhost', 'unix') }}:{{ backend }}"
backend_type: "{{ (backend_port is defined) | ternary('port', 'socket') }}"
upstream_name: "{{ (backend_type == 'port') | ternary('localhost' + backend, backend | basename) }}"
keep_alive: 32