Permalink
Browse files

Adding additional folder for manual virtualhosts.

  • Loading branch information...
darron committed Sep 2, 2014
1 parent 055de06 commit 294b06f6692bc8ac11be388cf6afa0a1e355bb88
Showing with 11 additions and 1 deletion.
  1. +2 −0 files/default/proxy.conf
  2. +1 −1 metadata.rb
  3. +8 −0 recipes/openresty.rb
View
@@ -20,6 +20,8 @@ http {
server_names_hash_bucket_size 128;
include /etc/nginx/mime.types;
default_type application/octet-stream;
# Additional directory, for manually configured vhosts
include /etc/nginx/additional-vhosts/*;
# Containers - built by octoconfig
include /etc/nginx/containers.conf;
# Open File Cache
View
@@ -4,7 +4,7 @@
maintainer_email 'darron@froese.org'
license 'Apache 2.0'
description 'Installs/configures octohost'
version '0.25.0'
version '0.26.0'
recipe 'octohost::default', 'Installs/configures octohost'
depends 'chef-sugar'
View
@@ -29,6 +29,14 @@
end
end
directory '/etc/nginx/additional-vhosts' do
owner 'root'
group 'root'
mode '0755'
recursive true
action :create
end
cookbook_file '/etc/nginx/proxy.conf' do
source 'proxy.conf'
owner 'root'

0 comments on commit 294b06f

Please sign in to comment.