From 9001728772a5d531ad29b09f4ef5a9c933c4008f Mon Sep 17 00:00:00 2001
From: denschub <software@dsx.cc>
Date: Fri, 28 Jan 2011 21:20:17 +0100
Subject: [PATCH] Fixed bugs in nginx.conf-template

---
 chef/cookbooks/common/templates/default/nginx.conf.erb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/chef/cookbooks/common/templates/default/nginx.conf.erb b/chef/cookbooks/common/templates/default/nginx.conf.erb
index e5dee7afa8..cc34eba51e 100644
--- a/chef/cookbooks/common/templates/default/nginx.conf.erb
+++ b/chef/cookbooks/common/templates/default/nginx.conf.erb
@@ -90,7 +90,7 @@ http {
 
    location /assets {
     expires 1d;
-    add_header Cache-Control public
+    add_header Cache-Control public;
    }
 
    location / {
@@ -114,7 +114,7 @@ http {
     }
 
     <% unless @s3_bucket.blank? || @s3_path.blank? %>
-      <%= "rewrite ^/uploads/images/(.*)$ #{@s3_bucket}#{@s3_path}$1 permanent; %>
+      <%= "rewrite ^/uploads/images/(.*)$ #{@s3_bucket}#{@s3_path}$1 permanent;" %>
     <% end %>
    }
 
-- 
GitLab