main.yml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. ---
  2. nginx_worker_processes: "1"
  3. nginx_worker_connections: "1024"
  4. nginx_error_log: "/var/log/nginx/error.log warn"
  5. nginx_access_log: "/var/log/nginx/access.log main buffer=16k"
  6. nginx_sendfile: "on"
  7. nginx_tcp_nopush: "on"
  8. nginx_tcp_nodelay: "on"
  9. nginx_keepalive_timeout: "65"
  10. nginx_keepalive_requests: "100"
  11. nginx_client_max_body_size: "64m"
  12. nginx_proxy_cache_path: ""
  13. nginx_remove_default_vhost: false
  14. nginx_vhosts: []
  15. # Example vhost below, showing all available options:
  16. # - {
  17. # listen: "80 default_server", # default: "80 default_server"
  18. # server_name: "example.com", # default: N/A
  19. # root: "/var/www/example.com", # default: N/A
  20. # index: "index.html index.htm", # default: "index.html index.htm"
  21. #
  22. # # Properties that are only added if defined:
  23. # error_page: "",
  24. # access_log: "",
  25. # extra_config: "" # Can be used to add extra config blocks (multiline).
  26. # }
  27. nginx_upstreams: []
  28. # - {
  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. # }
  36. # }