Zack Williams | b313bae | 2020-04-22 22:00:53 -0700 | [diff] [blame] | 1 | --- |
| 2 | # nginx vars/Debian.yml |
| 3 | # |
| 4 | # SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org> |
| 5 | # SPDX-License-Identifier: Apache-2.0 |
| 6 | # |
| 7 | # NOTE: Only put platform/OS-specific variables in this file. |
| 8 | # Put all other variables in the 'defaults/main.yml' file. |
| 9 | |
| 10 | nginx_packages: |
| 11 | - "nginx" |
| 12 | - "python3-passlib" |
Zack Williams | d3a69fd | 2022-05-15 11:52:40 -0700 | [diff] [blame] | 13 | - "procps" # needed as debian initscripts call /bin/kill and others |
Zack Williams | b313bae | 2020-04-22 22:00:53 -0700 | [diff] [blame] | 14 | |
| 15 | nginx_username: "www-data" |
| 16 | nginx_groupname: "www-data" |
| 17 | |
| 18 | # name of the NGINX service |
| 19 | nginx_service: "nginx" |
| 20 | |
| 21 | # Debian default settings |
| 22 | nginx_conf_dir: "/etc/nginx" |
| 23 | nginx_pid_file: "/run/nginx.pid" |
| 24 | |
| 25 | # logfile names must end in .log for logrotate (per /etc/logrotate.d/nginx) |
| 26 | nginx_log_dir: "/var/log/nginx" |
| 27 | |
| 28 | # Not default. The /srv hierarchy is a good place for static sites. |
| 29 | nginx_static_dir: "/srv/sites" |
| 30 | |
| 31 | # used for http basic auth .htpasswd files |
| 32 | nginx_auth_basic_dir: "/srv/auth" |