瀏覽代碼

Update nginx configuration to make possible to include more configuration files by default

Emmanuel Bouthenot 10 年之前
父節點
當前提交
4ba1260a52
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      roles/webserver/templates/nginx/nginx.conf.j2

+ 7 - 0
roles/webserver/templates/nginx/nginx.conf.j2

@@ -182,3 +182,10 @@ http {
     # Virtual hosts inclusion
     include /etc/nginx/sites-enabled/*;
 }
+
+#
+# Include more global diretives (mail, rtmp, etc.)
+#
+
+include /etc/nginx/conf.d/*.inc;
+