Bläddra i källkod

Update default template for nginx

Emmanuel Bouthenot 9 år sedan
förälder
incheckning
298598e1c3
1 ändrade filer med 9 tillägg och 4 borttagningar
  1. 9 4
      roles/webserver/templates/nginx/default.j2

+ 9 - 4
roles/webserver/templates/nginx/default.j2

@@ -3,9 +3,14 @@
 {{ prolog() }}
 {% 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"
+# #  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"