Selaa lähdekoodia

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

Emmanuel Bouthenot 10 vuotta sitten
vanhempi
commit
4ba1260a52
1 muutettua tiedostoa jossa 7 lisäystä ja 0 poistoa
  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;
+