Permalink
Browse files

set up custom.ssl.conf as well

  • Loading branch information...
1 parent 29fac60 commit 44e29c34b1e0fcc6ad85da63c4ab14bbb09672d8 @BanzaiMan committed Feb 13, 2012
Showing with 15 additions and 6 deletions.
  1. +15 −6 cookbooks/nginx-custom/recipes/default.rb
@@ -1,6 +1,15 @@
- file "/data/nginx/servers/#{app}/custom.conf" do
- action :create_if_missing
- owner node.engineyard.ssh_username
- group node.engineyard.ssh_username
- mode 0644
- end
+file "/data/nginx/servers/#{app}/custom.conf" do
+ action :create_if_missing
+ owner node.engineyard.ssh_username
+ group node.engineyard.ssh_username
+ mode 0644
+ source "custom.conf"
+end
+
+file "/data/nginx/servers/#{app}/custom.ssl.conf" do
+ action :create_if_missing
+ owner node.engineyard.ssh_username
+ group node.engineyard.ssh_username
+ mode 0644
+ source "custom.ssl.conf"
+end

0 comments on commit 44e29c3

Please sign in to comment.