]> khamidou — GitHub mirrors - kite.git/commitdiff
fixed bug in nginx config
authorkarim hamidou <khamidou@gmail.com>
Sun, 13 Oct 2013 18:11:16 +0000 (20:11 +0200)
committerkarim hamidou <khamidou@gmail.com>
Sun, 13 Oct 2013 18:11:16 +0000 (20:11 +0200)
puppet_modules/nginx/templates/nginx_config.erb

index 4076ea5878689a1f50c427e92f8c3845660223f8..57e4438298b75a4deb077b25167677746ac5b5f6 100644 (file)
@@ -1,6 +1,6 @@
 server {
     listen 80;
-    server_name <%= server_name %>;
+    server_name _;
     access_log /var/log/nginx/<%= server_name %>.access.log;
     charset utf-8;
     client_max_body_size 8m;
@@ -9,7 +9,7 @@ server {
     gzip_types text/plain text/xml text/css application/javascript application/x-javascript application/json;
 
     location / {
-        root <%= appdir %>/front/;
+        root <%= appdir %>/front/app/;
         autoindex off;
         expires 1M;
     }