Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use nginx package from ppa

  • Loading branch information...
commit 858b12bf34cd6c2aaf7b21f9190409ddc6e5c103 1 parent 7d3c036
@tomtaylor tomtaylor authored
Showing with 11 additions and 1 deletion.
  1. +11 −1 recipes/default.rb
View
12 recipes/default.rb
@@ -18,7 +18,17 @@
# limitations under the License.
#
-package "nginx"
+include_recipe "apt"
+
+apt_repository "nginx-stable" do
+ uri "http://ppa.launchpad.net/nginx/stable/ubuntu"
+ distribution node['lsb']['codename']
+ components ["main"]
+ keyserver "keyserver.ubuntu.com"
+ key "C300EE8C"
+end
+
+package "nginx-extras"
directory node[:nginx][:log_dir] do
mode 0755
Please sign in to comment.
Something went wrong with that request. Please try again.