2014-08-27 20:02:29 +03:00
|
|
|
---
|
|
|
|
# file: roles/nginx/defaults/main.yml
|
|
|
|
|
|
|
|
# path config
|
|
|
|
nginx_confd_path: /etc/nginx/conf.d
|
|
|
|
|
|
|
|
# parent directory of vhost roots
|
|
|
|
nginx_root_prefix: /var/www
|
|
|
|
|
2015-06-04 23:28:31 +03:00
|
|
|
# 1 hour timeout
|
|
|
|
nginx_ssl_session_timeout: 1h
|
|
|
|
# 10MB -> 40,000 sessions
|
|
|
|
nginx_ssl_session_cache: shared:SSL:10m
|
|
|
|
# 1400 bytes to fit in one MTU (default is 16k!)
|
|
|
|
nginx_ssl_buffer_size: 1400
|
|
|
|
nginx_ssl_dhparam: /etc/ssl/certs/dhparam.pem
|
2019-07-23 17:53:22 +03:00
|
|
|
nginx_ssl_protocols: 'TLSv1.2 TLSv1.3'
|
2015-06-04 23:28:31 +03:00
|
|
|
|
2018-04-30 18:04:17 +03:00
|
|
|
# DNS resolvers for OCSP stapling (default to Cloudflare public DNS)
|
|
|
|
# See: https://nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_stapling
|
|
|
|
nginx_ssl_stapling_resolver: '1.1.1.1 1.0.0.1 [2606:4700:4700::1111] [2606:4700:4700::1001]'
|
|
|
|
|
2016-10-09 11:57:23 +03:00
|
|
|
# install certbot + dependencies?
|
|
|
|
# True unless you're in development and using "localhost" + snakeoil certs
|
|
|
|
use_letsencrypt: True
|
|
|
|
|
2016-06-27 19:07:48 +03:00
|
|
|
# Directory root for Let's Encrypt certs
|
|
|
|
letsencrypt_root: /etc/letsencrypt/live
|
2014-09-13 23:16:54 +03:00
|
|
|
|
2016-06-27 23:52:39 +03:00
|
|
|
# Location of Let's Encrypt's certbot script
|
|
|
|
letsencrypt_certbot_dest: /opt/certbot-auto
|
|
|
|
|
2020-03-16 18:06:28 +02:00
|
|
|
# stable is 1.16.x
|
|
|
|
# mainline is 1.17.x
|
2016-05-27 08:14:04 +03:00
|
|
|
nginx_version: mainline
|
2015-05-25 00:15:49 +03:00
|
|
|
|
2014-08-27 20:02:29 +03:00
|
|
|
# vim: set ts=2 sw=2:
|