Switch back to the upstream nginx cookbook

chef_nginx is deprecated
This commit is contained in:
Greg Karékinian
2019-03-14 10:35:11 +01:00
parent e20ad9e6f9
commit fc265014de
122 changed files with 565 additions and 617 deletions

View File

@@ -6,6 +6,6 @@ description 'Installs/Configures kosmos-nginx'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.2.0'
depends 'chef_nginx'
depends 'nginx'
depends 'firewall'
depends 'openssl'

View File

@@ -24,7 +24,7 @@ EOF
node.override['nginx']['repo_source'] = 'nginx' # Install from official repo
node.override['nginx']['upstream_repository'] = "http://nginx.org/packages/mainline/#{node['platform']}"
include_recipe 'chef_nginx'
include_recipe 'nginx'
# Generate Strong Diffie-Hellman Group (increases security)
# https://weakdh.org/sysadmin.html