1234567891011121314151617 |
- {% if ansible_controlled is defined and ansible_controlled != "" %}
- #
- # {{ ansible_controlled }}
- #
- {% endif %}
- # Note: You may want to look at the following page before setting the ULIMIT.
- # # http://wiki.nginx.org/CoreModule#worker_rlimit_nofile
- # # Set the ulimit variable if you need defaults to change.
- # # Example: ULIMIT="-n 4096"
- # #ULIMIT="-n 4096"
- ulimit -Hn 65536
- ulimit -Sn 65536
- #
- # # Define the stop schedule for nginx
- # # see the start-stop-daemon --retry documentation for more information
- # #
- # #STOP_SCHEDULE="QUIT/5/TERM/5/KILL/5"
|