homeserver/roles/hispanico.letsencrypt-nginx-revproxy/defaults/main.yml

15 lines
910 B
YAML
Raw Normal View History

2020-08-18 11:57:53 +02:00
---
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: false # 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 are using hispanico.letsencrypt-nginx-revproxy role
letsencrypt_email: 'info@example.com'