2018-01-10 23:40:01 +01:00
|
|
|
---
|
|
|
|
# Specify which version of NGINX you want to install.
|
|
|
|
# Options are 'opensource' or 'plus'.
|
|
|
|
# Default is 'opensource'.
|
|
|
|
type: opensource
|
|
|
|
# Specify which branch of Open Source NGINX you want to install.
|
|
|
|
# Options are 'mainline' or 'stable'.
|
|
|
|
# Default is stable.
|
|
|
|
branch: mainline
|
2018-01-19 19:27:47 +01:00
|
|
|
# Install nginscript, perl and/or waf modules.
|
2018-01-10 23:40:01 +01:00
|
|
|
# Default is false.
|
2018-01-19 19:27:47 +01:00
|
|
|
modules:
|
|
|
|
njs: false
|
|
|
|
perl: false
|
|
|
|
waf: false
|
2018-01-10 23:40:01 +01:00
|
|
|
# Install NGINX Amplify.
|
|
|
|
# Use your NGINX Amplify API key.
|
|
|
|
# Default is null.
|
|
|
|
amplify: null
|
|
|
|
# Enable NGINX status data.
|
|
|
|
# Will enable 'stub_status' in open source NGINX and 'status' in NGINX Plus.
|
|
|
|
# Default is false.
|
|
|
|
status: false
|
2018-01-19 19:27:47 +01:00
|
|
|
# Enable NGINX Plus REST API and dashboard.
|
2018-01-26 20:00:26 +01:00
|
|
|
# Default is false for all three variables.
|
2018-01-19 19:27:47 +01:00
|
|
|
api:
|
|
|
|
enable: false
|
|
|
|
write: false
|
|
|
|
dashboard: false
|
2018-01-10 23:40:01 +01:00
|
|
|
# Location of your NGINX Plus license in your local machine.
|
2018-01-17 18:13:44 +01:00
|
|
|
# Default is the files folder within the NGINX Ansible role.
|
2018-01-10 23:40:01 +01:00
|
|
|
license:
|
2018-01-26 20:00:26 +01:00
|
|
|
certificate: license/nginx-repo.crt
|
|
|
|
key: license/nginx-repo.key
|
|
|
|
# Location of the configuration files you wish to upload to NGINX.
|
|
|
|
# Default is the files folder within the NGINX Ansible role.
|
|
|
|
configuration_files:
|
|
|
|
enable: false
|
|
|
|
main: conf/nginx.conf
|
|
|
|
http: conf/http/*.conf
|
|
|
|
# Configuration variables to create a templated NGINX configuration.
|
|
|
|
# Defaults are the values found in a fresh NGINX installation.
|
|
|
|
configuration_templates:
|
|
|
|
enable: false
|
|
|
|
opensource:
|
|
|
|
user: nginx
|
|
|
|
worker_processes: 1
|
|
|
|
error_level: warn
|
|
|
|
worker_connections: 1024
|
|
|
|
keepalive_timeout: 65
|
|
|
|
listen: 80
|
|
|
|
server_name: localhost
|
|
|
|
plus:
|
|
|
|
user: nginx
|
|
|
|
worker_processes: auto
|
|
|
|
error_level: notice
|
|
|
|
worker_connections: 1024
|
|
|
|
keepalive_timeout: 65
|
|
|
|
listen: 80
|
|
|
|
server_name: localhost
|