23 lines
555 B
YAML
23 lines
555 B
YAML
---
|
|
http_port: 80
|
|
https_port: 443
|
|
nginx_letsencrypt_managed: True
|
|
nginx_use_common_virthost: True
|
|
nginx_virthosts:
|
|
- virthost_name: '{{ ansible_fqdn }}'
|
|
listen: '{{ http_port }}'
|
|
server_name: '{{ ansible_fqdn }}'
|
|
server_aliases: ''
|
|
index: index.html
|
|
ssl_enabled: True
|
|
ssl_only: True
|
|
ssl_letsencrypt_certs: '{{ nginx_letsencrypt_managed }}'
|
|
root: '{{ nginx_webroot }}'
|
|
server_tokens: 'off'
|
|
proxy_standard_setup: True
|
|
locations:
|
|
- location: /
|
|
target: http://localhost:{{ pdns_admin_http_port }}
|
|
|
|
|