1
0
Fork 0
mirror of https://github.com/DO1JLR/ansible_role_nginx.git synced 2024-08-16 16:19:48 +02:00
ansible_role_nginx/defaults/main.yml

44 lines
1.5 KiB
YAML
Raw Normal View History

2020-11-02 04:51:35 +01:00
---
2021-02-04 14:43:54 +01:00
# enable version check for this role? (true is recomended)
submodules_versioncheck: false
2020-11-02 04:51:35 +01:00
nginx_sites: {}
2021-02-04 18:27:54 +01:00
# nginx_sites:
# - name: 'example.org' # required
# altnames: # Optional alternative names
2020-11-02 04:51:35 +01:00
# - 'www.example.org'
# - 'ftp.example.org'
# logging: false # Optional enable nginx logging
# robots: 'robots_allow_all.txt' # Optional, unimplemented
# htaccess: 'htpasswd.example.org' # Optional, unimplemented
# webroot: # Optional, for use with 'webhost' role
# path # Optional, for use with 'webhost' role
# user # Optional, for use with 'webhost' role
# group # Optional, for use with 'webhost' role
# mode # Optional, for use with 'webhost' role
2020-11-02 04:51:35 +01:00
2021-02-04 14:35:47 +01:00
nginx__snippet_path: 'files/nginx/snippets/'
nginx__snippet_files:
2020-11-02 04:51:35 +01:00
- 'acmetool.snippet.conf'
- 'tls_parameters.snippet.conf'
2020-11-02 04:51:35 +01:00
2021-02-04 18:27:54 +01:00
# default_robots_file: 'robots_disallow_all.txt'
# nginx logging default for all sites
nginx__default_enable_logging: false
2021-02-04 13:43:08 +01:00
nginx__dhparam_size: 4096
nxinx__state: 'present'
# disable it if you do not want a autogenerated infrastructure domain config
nginx__infrastructure_domain__enabled: true
# disable this variable if you don't want to use our acmetool role to manage tls certificates
nginx__acmetool_enabled: true
2021-10-18 00:42:23 +02:00
nginx__user: 'www-data'
nginx__group: 'www-data'