Commit d2a63ab76c9ec8e9d0660bd4b6192004cf82b920
1 parent
c5ca354b
Bump to v0.1.1. Make sure all templates use action :create_if_missing.
Showing
4 changed files
with
8 additions
and
1 deletions
@@ -193,3 +193,5 @@ default['nginx']['gzip_comp_level'] = '5' | @@ -193,3 +193,5 @@ default['nginx']['gzip_comp_level'] = '5' | ||
193 | default['nginx']['extra_configs'] = { | 193 | default['nginx']['extra_configs'] = { |
194 | 'reset_timedout_connection' => 'on' | 194 | 'reset_timedout_connection' => 'on' |
195 | } | 195 | } |
196 | +# Increase this to 128 if using super long server names | ||
197 | +default['nginx']['server_names_hash_bucket_size'] = 64 |
@@ -4,7 +4,7 @@ maintainer_email 'sysadmin@chromedia.com' | @@ -4,7 +4,7 @@ maintainer_email 'sysadmin@chromedia.com' | ||
4 | license 'Apache License' | 4 | license 'Apache License' |
5 | description 'Simplifies setup of Nginx+PHP-FPM in Chromedia.' | 5 | description 'Simplifies setup of Nginx+PHP-FPM in Chromedia.' |
6 | long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) | 6 | long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) |
7 | -version '0.1.0' | 7 | +version '0.1.1' |
8 | 8 | ||
9 | { | 9 | { |
10 | 'php-fpm' => '0.7.5', | 10 | 'php-fpm' => '0.7.5', |
@@ -46,6 +46,7 @@ end | @@ -46,6 +46,7 @@ end | ||
46 | # Some basic "include" files for PHP | 46 | # Some basic "include" files for PHP |
47 | path_bpf = "#{inc_dir}/inc_basic_php_fastcgi" | 47 | path_bpf = "#{inc_dir}/inc_basic_php_fastcgi" |
48 | template path_bpf do | 48 | template path_bpf do |
49 | + action :create_if_missing | ||
49 | mode 0644 | 50 | mode 0644 |
50 | variables( | 51 | variables( |
51 | :socket => node['cfe-nginx-php-fpm']['php_fastcgi_socket'] | 52 | :socket => node['cfe-nginx-php-fpm']['php_fastcgi_socket'] |