default.j2 561 B

12345678910111213141516
  1. {% if ansible_prolog -%}
  2. {% from 'templates/ansible/prolog.j2' import prolog with context %}
  3. {{ prolog() }}
  4. {% endif -%}
  5. # Note: You may want to look at the following page before setting the ULIMIT.
  6. # # http://wiki.nginx.org/CoreModule#worker_rlimit_nofile
  7. # # Set the ulimit variable if you need defaults to change.
  8. # # Example: ULIMIT="-n 4096"
  9. # #ULIMIT="-n 4096"
  10. ulimit -Hn 65536
  11. ulimit -Sn 65536
  12. #
  13. # # Define the stop schedule for nginx
  14. # # see the start-stop-daemon --retry documentation for more information
  15. # #
  16. # #STOP_SCHEDULE="QUIT/5/TERM/5/KILL/5"