forked from ISTI-ansible-roles/ansible-roles
31 lines
751 B
YAML
31 lines
751 B
YAML
---
|
|
http_port: 80
|
|
https_port: 443
|
|
|
|
node_js_repo_version: 10
|
|
node_js_yarn_install: True
|
|
|
|
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: '{{ pdns_admin_home }}'
|
|
server_tokens: 'off'
|
|
proxy_standard_setup: True
|
|
locations:
|
|
- location: ~ ^/static
|
|
other_opts:
|
|
- include /etc/nginx/mime.types
|
|
- root {{ pdns_admin_home }}/powerdnsadmin
|
|
- location: /
|
|
target: http://unix:/run/powerdns-admin/socket
|
|
|
|
|