module-nginx/data/common.yaml

78 lines
2.7 KiB
YAML
Raw Normal View History

2014-09-20 20:29:40 +02:00
---
nginx::config::temp_dir: /tmp
nginx::config::run_dir: /var/nginx
nginx::config::conf_template: nginx/conf.d/nginx.conf.erb
nginx::config::proxy_conf_template: nginx/conf.d/proxy.conf.erb
nginx::config::confd_purge: false
nginx::config::vhost_purge: false
nginx::config::worker_processes: 1
nginx::config::worker_connections: 1024
nginx::config::worker_rlimit_nofile: 1024
nginx::config::types_hash_max_size: 1024
nginx::config::types_hash_bucket_size: 512
nginx::config::names_hash_bucket_size: 64
nginx::config::names_hash_max_size: 512
2014-09-21 07:27:35 +02:00
nginx::config::multi_accept: 'off'
2014-09-20 20:29:40 +02:00
nginx::config::events_use: false
2014-09-21 07:27:35 +02:00
nginx::config::sendfile: 'on'
2014-09-20 20:29:40 +02:00
nginx::config::keepalive_timeout: 65
2014-09-21 07:27:35 +02:00
nginx::config::http_tcp_nodelay: 'on'
nginx::config::http_tcp_nopush: 'off'
nginx::config::gzip: 'on'
nginx::config::server_tokens: 'on'
nginx::config::spdy: 'off'
nginx::config::ssl_stapling: 'off'
nginx::config::proxy_redirect: 'off'
2014-09-20 20:29:40 +02:00
nginx::config::proxy_set_header:
- 'Host $host'
- 'X-Real-IP $remote_addr'
- 'X-Forwarded-For $proxy_add_x_forwarded_for'
nginx::config::proxy_cache_path: false
2014-09-21 07:27:35 +02:00
nginx::config::proxy_cache_levels: '1'
2014-09-20 20:29:40 +02:00
nginx::config::proxy_cache_keys_zone: 'd2:100m'
nginx::config::proxy_cache_max_size: 500m
nginx::config::proxy_cache_inactive: 20m
nginx::config::fastcgi_cache_path: false
2014-09-21 07:27:35 +02:00
nginx::config::fastcgi_cache_levels: '1'
2014-09-20 20:29:40 +02:00
nginx::config::fastcgi_cache_keys_zone: 'd3:100m'
nginx::config::fastcgi_cache_max_size: 500m
nginx::config::fastcgi_cache_inactive: 20m
nginx::config::fastcgi_cache_key: false
nginx::config::fastcgi_cache_use_stale: false
nginx::config::client_body_temp_path: /var/nginx/client_body_temp
nginx::config::client_body_buffer_size: 128k
nginx::config::client_max_body_size: 10m
nginx::config::proxy_temp_path: /var/nginx/proxy_temp
2014-09-21 07:27:35 +02:00
nginx::config::proxy_connect_timeout: '90'
nginx::config::proxy_send_timeout: '90'
nginx::config::proxy_read_timeout: '90'
2014-09-20 20:29:40 +02:00
nginx::config::proxy_buffers: '32 4k'
2014-09-21 07:27:35 +02:00
nginx::config::proxy_http_version: '1.0'
2014-09-20 20:29:40 +02:00
nginx::config::proxy_buffer_size: 8k
2014-09-21 07:27:35 +02:00
nginx::config::proxy_headers_hash_bucket_size: '64'
2014-09-20 20:29:40 +02:00
nginx::config::logdir: /var/log/nginx
nginx::config::mail: false
nginx::config::http_cfg_append: false
nginx::config::nginx_error_log: /var/log/nginx/error.log
nginx::config::http_access_log: /var/log/nginx/access.log
nginx::config::root_group: root
# Specific owner for sites-available directory
nginx::config::sites_available_owner: root
nginx::config::sites_available_group: root
nginx::config::sites_available_mode: '0644'
# Owner for all other files
nginx::config::global_owner: root
nginx::config::global_group: root
nginx::config::global_mode: '0644'
nginx::config::pid: /var/run/nginx.pid
nginx::config::conf_dir: /etc/nginx
nginx::config::super_user: true
nginx::config::daemon_user: nginx