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:
|
|
|
|
- "[2a09:6840:128::98]:3000"
|
|
|
|
- 10.128.0.98:3000
|
|
|
|
|
|
|
|
caddy__servers:
|
|
|
|
https:
|
|
|
|
listen: ":443"
|
|
|
|
routes: "{{ caddy__routes_https }}"
|
|
|
|
http:
|
|
|
|
listen: ":80"
|
|
|
|
|
|
|
|
#caddy__error_handlers:
|
|
|
|
#"*":
|
|
|
|
# - error_template: "/var/www/error.html"
|
2024-03-09 12:13:19 +01:00
|
|
|
...
|