ansible/host_vars/proxy.pub.infra.auro.re.yml

52 lines
1.2 KiB
YAML
Raw Normal View History

2024-03-09 12:13:19 +01:00
---
systemd_link__links:
pub0: ae:ae:ae:3a:71:0b
ifupdown2__interfaces:
pub0:
addresses:
- 2a09:6840:215::1:1/64
- 45.66.111.206/30
gateways: "{{ ifupdown2__gateways.pub }}"
2024-03-09 20:18:12 +01:00
caddy__matrix_headers:
access-control-allow-headers: "Origin, X-Requested-With, Content-Type, Accept, Authorization"
access-control-allow-methods: "GET, POST, PUT, DELETE, OPTIONS"
access-control-allow-origin: "*"
caddy__routes_https:
www1.test.auro.re:
- root: /var/www/auro.re
- path: /.well-known/matrix/server
headers: "{{ caddy__matrix_headers }}"
body: '{"m.server": "matrix.auro.re:8448"}'
status: 200
- path: /.well-known/matrix/client
headers: "{{ caddy__matrix_headers }}"
body: '{"m.homeserver": {"base_url": "https://matrix.auro.re"}}'
status: 200
www2.test.auro.re:
headers:
location: "https://auro.re{http.request.uri}"
status: 301
www3.test.auro.re:
reverse:
2024-05-02 22:28:50 +02:00
- "[2a09:6840:128::198]:3000"
- 10.128.0.198:3000
caddy__errors:
- root: /var/www
- rewrite: /error.html
- file_server: true
templates: true
2024-03-09 20:18:12 +01:00
caddy__servers:
https:
listen: ":443"
routes: "{{ caddy__routes_https }}"
2024-05-02 22:28:50 +02:00
errors: "{{ caddy__errors }}"
2024-03-09 20:18:12 +01:00
http:
listen: ":80"
2024-03-09 12:13:19 +01:00
...