diff options
Diffstat (limited to '')
-rw-r--r-- | data/common.yaml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/data/common.yaml b/data/common.yaml new file mode 100644 index 0000000..7f015df --- /dev/null +++ b/data/common.yaml @@ -0,0 +1,30 @@ +certname: "%{fqdn}" + +nginx::nginx_servers_defaluts: + ssl: true + ssl_cert: "/etc/letsencrypt/live/%{certname}/fullchain.pem" + ssl_key: "/etc/letsencrypt/live/%{certname}/privkey.pem" + use_default_location: false + index_files: + - index.html + - index.htm + access_log: absent + error_log: absent + ssl_redirect: true + +nginx::manage_repo: false +nginx::surver_purge: true +nginx::service_config_check: true +nginx::http_format_log: my_format +nginx::log_formats: + nginx_default: '$remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referrer" "$http_user_agent"' + my_format: '$remote_addr - $remote_user [$time_local] "$request_method $server_name$request_uri" $status $body_bytes_sent "$http_referer" "$http_user_agent"' +nginx::nginx_error_log_severity: notice +nginx::cfg_append: + rewrite_log: on +nginx::server_purge: true + +nginx::nginx_locations_defaults: + index_files: [] + ssl: true + autoindex: on |