homeserver/roles/hispanico.nginx-revproxy/defaults/main.yml
2020-08-18 11:57:53 +02:00

14 lines
927 B
YAML

---
nginx_revproxy_sites: # List of sites to reverse proxy
example.com: # Domain name
domains: # List of server_name aliases
- example.com
- www.example.com
upstreams: # List of Upstreams
- {backend_address: 192.168.0.100, backend_port: 80}
- {backend_address: 192.168.0.101, backend_port: 8080}
ssl: true # Set to True if you want to redirect http to https
hsts_max_age: 63072000 # Set HSTS header with max-age defined
letsencrypt: false # Set to True if you want use letsencrypt
letsencrypt_email: "" # Set email for letencrypt cert