From 04576b058a52104a0ae888cef407b10e5d849519 Mon Sep 17 00:00:00 2001 From: karim hamidou Date: Sun, 13 Oct 2013 20:11:16 +0200 Subject: [PATCH] fixed bug in nginx config --- puppet_modules/nginx/templates/nginx_config.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.43.0