Skip to content

Instantly share code, notes, and snippets.

@nicgrayson
Created September 6, 2013 15:43
Show Gist options
  • Save nicgrayson/6465697 to your computer and use it in GitHub Desktop.
Save nicgrayson/6465697 to your computer and use it in GitHub Desktop.
normal['nginx']['version'] = "1.4.1"
normal['nginx']['source']['version'] = "1.4.1"
normal['nginx']['source']['prefix'] = "/opt/nginx-#{node['nginx']['source']['version']}"
normal['nginx']['prefix'] = "/opt/nginx-#{node['nginx']['source']['version']}"
normal['nginx']['source']['sbin_path'] = "#{node['nginx']['source']['prefix']}/sbin/nginx"
normal['nginx']['source']['url'] = "http://nginx.org/download/nginx-#{node['nginx']['source']['version']}.tar.gz"
normal['nginx']['source']['modules'] = [
"http_ssl_module",
"http_gzip_static_module",
"headers_more_module",
"http_stub_status_module"
]
normal['nginx']['source']['default_configure_flags'] = [
"--prefix=#{node['nginx']['source']['prefix']}",
"--conf-path=#{node['nginx']['dir']}/nginx.conf",
"--sbin-path=#{node['nginx']['source']['sbin_path']}"
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment