add defaults for nginx_extra_events_options

- add defaults for nginx_extra_events_options
- get rid of explicit use method, drop into options
pull/129/head
Ryan MacDonald 6 years ago committed by GitHub
parent bc80e9fd5d
commit 90f9bf4bcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      defaults/main.yml

@ -18,7 +18,12 @@ nginx_vhost_template: "vhost.j2"
nginx_worker_processes: "{{ ansible_processor_vcpus | default(ansible_processor_count) }}"
nginx_worker_connections: "1024"
nginx_multi_accept: "off"
#nginx_use_method: "epoll"
nginx_extra_events_options: ""
# Example extra events{} options
# nginx_extra_events_options: |
# accept_mutex on;
# use epoll;
nginx_error_log: "/var/log/nginx/error.log warn"
nginx_access_log: "/var/log/nginx/access.log main buffer=16k flush=2m"