Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Simple nginx puppet module

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 manifests
Octocat-spinner-32 README.rst
README.rst

Nginx configuration for puppet

This simple module installs nginx and provides a defined type for installing virtualhost files. It is very basic - there are problably better nginx modules for you if your requirements are more than putting a virtualhost file in place.

Install

Install into your puppet modules path using:

git clone git://github.com/codeinthehole/puppet-nginx.git nginx

then add:

include nginx

to the appropriate node manifest file. You can put virtualhost files in place using the syntax:

nginx::vhost { "vagrant.nginx.file":
    filename => "vagrant.conf",
    source => "/vagrant/www/deploy/nginx/vagrant.conf"
}
Something went wrong with that request. Please try again.