2014-08-21 22:41:31 +02:00
|
|
|
---
|
2015-02-25 14:59:24 +01:00
|
|
|
# Used only for Debian/Ubuntu installation, as the -t option for apt.
|
|
|
|
nginx_default_release: ""
|
|
|
|
|
2016-02-11 12:48:09 +01:00
|
|
|
# Distros like Debian/Ubuntu ships nginx package with different flavors, e.g.
|
|
|
|
# full, light or extras.
|
|
|
|
nginx_package_name: "nginx"
|
|
|
|
|
2014-12-03 21:11:18 +01:00
|
|
|
nginx_worker_processes: "1"
|
2015-02-21 06:17:13 +01:00
|
|
|
nginx_worker_connections: "1024"
|
2015-02-25 04:10:22 +01:00
|
|
|
|
|
|
|
nginx_error_log: "/var/log/nginx/error.log warn"
|
|
|
|
nginx_access_log: "/var/log/nginx/access.log main buffer=16k"
|
|
|
|
|
|
|
|
nginx_sendfile: "on"
|
|
|
|
nginx_tcp_nopush: "on"
|
|
|
|
nginx_tcp_nodelay: "on"
|
|
|
|
|
2014-12-03 21:11:18 +01:00
|
|
|
nginx_keepalive_timeout: "65"
|
2015-02-25 04:10:22 +01:00
|
|
|
nginx_keepalive_requests: "100"
|
|
|
|
|
|
|
|
nginx_client_max_body_size: "64m"
|
2015-02-21 06:17:35 +01:00
|
|
|
|
2015-02-21 07:02:51 +01:00
|
|
|
nginx_proxy_cache_path: ""
|
|
|
|
|
2016-02-11 12:48:09 +01:00
|
|
|
nginx_extra_conf_options: ""
|
|
|
|
# Example extra main options, used within the main nginx's context:
|
|
|
|
# nginx_extra_conf_options: |
|
|
|
|
# env VARIABLE;
|
|
|
|
# include /etc/nginx/main.d/*.conf;
|
|
|
|
|
2015-12-28 17:01:42 +01:00
|
|
|
nginx_extra_http_options: ""
|
|
|
|
# Example extra http options, printed inside the main server http config:
|
|
|
|
# nginx_extra_http_options: |
|
2015-12-22 17:11:35 +01:00
|
|
|
# proxy_buffering off;
|
|
|
|
# proxy_set_header X-Real-IP $remote_addr;
|
|
|
|
# proxy_set_header X-Scheme $scheme;
|
|
|
|
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
2015-12-28 16:57:11 +01:00
|
|
|
# proxy_set_header Host $http_host;
|
2015-12-22 16:59:05 +01:00
|
|
|
|
2014-08-21 22:41:31 +02:00
|
|
|
nginx_remove_default_vhost: false
|
2015-02-21 06:34:31 +01:00
|
|
|
nginx_vhosts: []
|
2015-02-21 07:02:51 +01:00
|
|
|
# Example vhost below, showing all available options:
|
2015-09-03 23:24:58 +02:00
|
|
|
# - listen: "80 default_server" # default: "80 default_server"
|
|
|
|
# server_name: "example.com" # default: N/A
|
|
|
|
# root: "/var/www/example.com" # default: N/A
|
|
|
|
# index: "index.html index.htm" # default: "index.html index.htm"
|
2015-02-21 07:02:51 +01:00
|
|
|
#
|
|
|
|
# # Properties that are only added if defined:
|
2015-09-03 23:24:58 +02:00
|
|
|
# error_page: ""
|
|
|
|
# access_log: ""
|
2015-12-28 14:10:15 +01:00
|
|
|
# error_log: ""
|
2015-05-12 22:18:50 +02:00
|
|
|
# extra_parameters: "" # Can be used to add extra config blocks (multiline).
|
2015-02-21 07:42:51 +01:00
|
|
|
|
|
|
|
nginx_upstreams: []
|
2015-09-03 23:24:58 +02:00
|
|
|
# - name: myapp1
|
|
|
|
# strategy: "ip_hash" # "least_conn", etc.
|
2015-02-21 07:42:51 +01:00
|
|
|
# servers: {
|
|
|
|
# "srv1.example.com",
|
|
|
|
# "srv2.example.com weight=3",
|
|
|
|
# "srv3.example.com"
|
|
|
|
# }
|