ansible/group_vars/pad.yaml
2024-09-25 14:29:49 +02:00

26 lines
703 B
YAML

---
acme_domains:
- pad.bitlair.nl
etherpad_domain: pad.bitlair.nl
nginx_sites:
- server_name: "pad.bitlair.nl"
localproxy: "9001"
pre_config:
- "# WebSocket proxying - from https://nginx.org/en/docs/http/websocket.html"
- "map $http_upgrade $connection_upgrade {"
- " default upgrade;"
- " '' close;"
- "}"
config:
- "location / {"
- " # WebSocket proxying - from https://nginx.org/en/docs/http/websocket.html"
- " proxy_set_header Upgrade $http_upgrade;"
- " proxy_set_header Connection $connection_upgrade;"
- "}"
group_nft_input:
- "# Allow web-traffic from world"
- "tcp dport { http, https } accept"