소스 검색

Update default template for nginx

Emmanuel Bouthenot 9 년 전
부모
커밋
298598e1c3
1개의 변경된 파일9개의 추가작업 그리고 4개의 파일을 삭제
  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"