2026-06-14 17:36:58 +02:00
|
|
|
---
|
|
|
|
|
- name: Converge
|
|
|
|
|
hosts: all
|
|
|
|
|
gather_facts: true
|
|
|
|
|
|
|
|
|
|
vars:
|
|
|
|
|
reverse_proxy__manage: false
|
|
|
|
|
reverse_proxy__acme_email: admin@example.test
|
|
|
|
|
reverse_proxy__routes:
|
|
|
|
|
- host: app.example.test
|
|
|
|
|
upstream: "app:80"
|
2026-06-14 18:11:20 +02:00
|
|
|
- host: t.example.test
|
|
|
|
|
respond: "ok"
|
2026-06-15 17:55:05 +02:00
|
|
|
- host: grpc.example.test
|
|
|
|
|
caddy: |
|
|
|
|
|
@grpc header Content-Type application/grpc*
|
|
|
|
|
reverse_proxy @grpc h2c://backend:80
|
2026-06-14 17:36:58 +02:00
|
|
|
|
|
|
|
|
roles:
|
|
|
|
|
- role: reverse_proxy
|