Zack Williams | b313bae | 2020-04-22 22:00:53 -0700 | [diff] [blame] | 1 | --- |
| 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 |
| 15 | nginx_conf_worker_processes: "auto" |
| 16 | |
| 17 | # http://nginx.org/en/docs/ngx_core_module.html#worker_connections |
| 18 | nginx_conf_worker_connections: 512 |
| 19 | |
| 20 | # http://nginx.org/en/docs/ngx_core_module.html#multi_accept |
| 21 | nginx_conf_multi_accept: "off" |
| 22 | |
| 23 | # http://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size |
| 24 | nginx_conf_client_max_body_size: "1m" |
| 25 | |
| 26 | # location of TLS certificates |
| 27 | certificate_dir: "/etc/acme/certs" |
| 28 | |
| 29 | # webroot directory for acme challenges (aiso in acme/letsencrypt roles) |
| 30 | acme_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. |
| 35 | acme_username: "acme" |
| 36 | |
| 37 | # vhosts is a list of virtualhosts to configure - see README.md |
| 38 | vhosts: [] |
| 39 | |
| 40 | # authentication scope dict to create htpasswd files - see README.md |
| 41 | auth_scopes: {} |
Zack Williams | ed7880c | 2020-10-09 10:55:10 -0700 | [diff] [blame] | 42 | |
| 43 | # block specific user agents (webscrapers) |
| 44 | blocked_user_agents: "DotBot|MJ12bot|SemrushBot|PetalBot|AhrefsBot" |