blob: 14ee76326b9a3168a72201499c528a60d9ec97e9 [file] [log] [blame]
Zack Williamsb313bae2020-04-22 22:00:53 -07001---
2# nginx defaults/main.yml
3#
4# SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
5# SPDX-License-Identifier: Apache-2.0
6
7# nginx_conf_* items go into the global nginx.conf file
8# Values set here are the same as default settings in nginx docs
9#
10# Upstream docs:
11# http://nginx.org/en/docs/ngx_core_module.html
12# http://nginx.org/en/docs/http/ngx_http_core_module.html
13
14# http://nginx.org/en/docs/ngx_core_module.html#worker_processes
15nginx_conf_worker_processes: "auto"
16
17# http://nginx.org/en/docs/ngx_core_module.html#worker_connections
18nginx_conf_worker_connections: 512
19
20# http://nginx.org/en/docs/ngx_core_module.html#multi_accept
21nginx_conf_multi_accept: "off"
22
23# http://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size
24nginx_conf_client_max_body_size: "1m"
25
26# location of TLS certificates
27certificate_dir: "/etc/acme/certs"
28
29# webroot directory for acme challenges (aiso in acme/letsencrypt roles)
30acme_challenge_dir: "/etc/acme/challenges"
31
32# ACME software user name for setting permissions on challenge dir
33# NOTE: this will cause failures if you haven't previously run the the acme
34# role, so override it when that role isn't being used.
35acme_username: "acme"
36
37# vhosts is a list of virtualhosts to configure - see README.md
38vhosts: []
39
40# authentication scope dict to create htpasswd files - see README.md
41auth_scopes: {}
Zack Williamsed7880c2020-10-09 10:55:10 -070042
43# block specific user agents (webscrapers)
44blocked_user_agents: "DotBot|MJ12bot|SemrushBot|PetalBot|AhrefsBot"