main.yml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. ---
  2. # Used only for Debian/Ubuntu installation, as the -t option for apt.
  3. nginx_default_release: ""
  4. nginx_worker_processes: "1"
  5. nginx_worker_connections: "1024"
  6. nginx_error_log: "/var/log/nginx/error.log warn"
  7. nginx_access_log: "/var/log/nginx/access.log main buffer=16k"
  8. nginx_sendfile: "on"
  9. nginx_tcp_nopush: "on"
  10. nginx_tcp_nodelay: "on"
  11. nginx_keepalive_timeout: "65"
  12. nginx_keepalive_requests: "100"
  13. nginx_client_max_body_size: "64m"
  14. nginx_proxy_cache_path: ""
  15. nginx_remove_default_vhost: false
  16. nginx_vhosts: []
  17. # Example vhost below, showing all available options:
  18. # - listen: "80 default_server" # default: "80 default_server"
  19. # server_name: "example.com" # default: N/A
  20. # root: "/var/www/example.com" # default: N/A
  21. # index: "index.html index.htm" # default: "index.html index.htm"
  22. #
  23. # # Properties that are only added if defined:
  24. # error_page: ""
  25. # access_log: ""
  26. # error_log: ""
  27. # extra_parameters: "" # Can be used to add extra config blocks (multiline).
  28. nginx_upstreams: []
  29. # - name: myapp1
  30. # strategy: "ip_hash" # "least_conn", etc.
  31. # servers: {
  32. # "srv1.example.com",
  33. # "srv2.example.com weight=3",
  34. # "srv3.example.com"
  35. # }