Add nginx cache directory
authorSam <sam.saffron@gmail.com>
Tue, 15 Jul 2014 00:16:53 +0000 (10:16 +1000)
committerSam <sam.saffron@gmail.com>
Tue, 15 Jul 2014 00:16:53 +0000 (10:16 +1000)
templates/web.template.yml

index 01d975120040a0984c5b38eff9ee048b14508d45..ee6ef18f0f79e763f661df21b3b1df1c8c4e31fc 100644 (file)
@@ -87,6 +87,7 @@ run:
       cmd:
         - "cp $home/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf"
         - "rm /etc/nginx/sites-enabled/default"
+        - "mkdir -p /var/nginx/cache"
 
   - replace:
       filename: /etc/nginx/nginx.conf