No commit activity in last 3 years
No release in over 3 years
Itamae plugin to install nginx-build
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.10
~> 10.0
>= 0

Runtime

~> 1
 Project Readme

Itamae::Plugin::Recipe::NginxBuild

Itamae recipe plugin for nginx-build

Installation

Add this line to your application's Gemfile:

gem 'itamae-plugin-recipe-nginx_build'

And then execute:

$ bundle

Or install it yourself as:

$ gem install itamae-plugin-recipe-nginx_build

Usage

Install

%w(
  git
  gcc
  openssl-devel
  ImageMagick-devel # ngx_small_light optional
).each do |pkg|
  package pkg
end

include_recipe "nginx_build"
include_recipe "nginx_build::install"

Option

all parameter is optional.

server:
  user: ec2-user
nginx_build:
  build_user: ec2-user
  platform: linux ( or darwin )
  version: 0.6.4
  bin: /usr/local/bin/
  nginx_version: 1.8.0
  nginx_user: nginx
  nginx_group: nginx
  nginx_sbin: /usr/sbin/nginx
  nginx_conf: /etc/nginx/nginx.conf
  nginx_pid: /var/run/nginx.pid
  modules:
    - http_ssl_module
  modules3rds:
    -
      name: ngx_cache_purge
      form: git
      url: https://github.com/FRiCKLE/ngx_cache_purge.git
      rev: 2.3
    -
      name: ngx_small_light
      form: git
      url: https://github.com/cubicdaiya/ngx_small_light.git
      rev: v0.6.15
      shprov: ./setup
  configure_path: /usr/local/nginx_build/configure.sh
  modules3rd_path: /usr/local/nginx_build/modules3rd.ini
  configure_options:
    prefix: /etc/nginx
    error-log-path: /var/log/nginx/error.log
    http-log-path: /var/log/nginx/access.log
  build_target: openresty
  openresty_version: 1.11.2.2

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/zaru/itamae-plugin-recipe-nginx_build.