From: karim hamidou Date: Sun, 13 Oct 2013 18:11:16 +0000 (+0200) Subject: fixed bug in nginx config X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=04576b058a52104a0ae888cef407b10e5d849519;p=kite.git fixed bug in nginx config --- diff --git a/puppet_modules/nginx/templates/nginx_config.erb b/puppet_modules/nginx/templates/nginx_config.erb index 4076ea5..57e4438 100644 --- a/puppet_modules/nginx/templates/nginx_config.erb +++ b/puppet_modules/nginx/templates/nginx_config.erb @@ -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; }