main.yml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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_extra_http_options: ""
  16. # Example extra http options, printed inside the main server http config:
  17. # nginx_extra_http_options: |
  18. # proxy_buffering off;
  19. # proxy_set_header X-Real-IP $remote_addr;
  20. # proxy_set_header X-Scheme $scheme;
  21. # proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  22. # proxy_set_header Host $http_host;
  23. nginx_remove_default_vhost: false
  24. nginx_vhosts: []
  25. # Example vhost below, showing all available options:
  26. # - listen: "80 default_server" # default: "80 default_server"
  27. # server_name: "example.com" # default: N/A
  28. # root: "/var/www/example.com" # default: N/A
  29. # index: "index.html index.htm" # default: "index.html index.htm"
  30. #
  31. # # Properties that are only added if defined:
  32. # error_page: ""
  33. # access_log: ""
  34. # error_log: ""
  35. # extra_parameters: "" # Can be used to add extra config blocks (multiline).
  36. nginx_upstreams: []
  37. # - name: myapp1
  38. # strategy: "ip_hash" # "least_conn", etc.
  39. # servers: {
  40. # "srv1.example.com",
  41. # "srv2.example.com weight=3",
  42. # "srv3.example.com"
  43. # }