main.yml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. # - {
  19. # listen: "80 default_server", # default: "80 default_server"
  20. # server_name: "example.com", # default: N/A
  21. # root: "/var/www/example.com", # default: N/A
  22. # index: "index.html index.htm", # default: "index.html index.htm"
  23. #
  24. # # Properties that are only added if defined:
  25. # error_page: "",
  26. # access_log: "",
  27. # extra_parameters: "" # Can be used to add extra config blocks (multiline).
  28. # }
  29. nginx_upstreams: []
  30. # - {
  31. # name: myapp1,
  32. # strategy: "ip_hash", # "least_conn", etc.
  33. # servers: {
  34. # "srv1.example.com",
  35. # "srv2.example.com weight=3",
  36. # "srv3.example.com"
  37. # }
  38. # }