blob: 999ae371f468b43c7068b0508a9645c9e4f19e33 [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
Hyunsun Moonffb66f82021-12-02 13:51:09 -080014# Set true to use nginx.org package repo
15nginx_add_package_repo: true
16
Zack Williamsb313bae2020-04-22 22:00:53 -070017# http://nginx.org/en/docs/ngx_core_module.html#worker_processes
18nginx_conf_worker_processes: "auto"
19
20# http://nginx.org/en/docs/ngx_core_module.html#worker_connections
21nginx_conf_worker_connections: 512
22
23# http://nginx.org/en/docs/ngx_core_module.html#multi_accept
24nginx_conf_multi_accept: "off"
25
26# http://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size
27nginx_conf_client_max_body_size: "1m"
28
29# location of TLS certificates
30certificate_dir: "/etc/acme/certs"
31
32# webroot directory for acme challenges (aiso in acme/letsencrypt roles)
33acme_challenge_dir: "/etc/acme/challenges"
34
35# ACME software user name for setting permissions on challenge dir
36# NOTE: this will cause failures if you haven't previously run the the acme
37# role, so override it when that role isn't being used.
38acme_username: "acme"
39
40# vhosts is a list of virtualhosts to configure - see README.md
41vhosts: []
42
43# authentication scope dict to create htpasswd files - see README.md
44auth_scopes: {}
Zack Williamsed7880c2020-10-09 10:55:10 -070045
46# block specific user agents (webscrapers)
47blocked_user_agents: "DotBot|MJ12bot|SemrushBot|PetalBot|AhrefsBot"