Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Puppet
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
manifests
templates
tests
README.md

README.md

Puppet-nginx

A puppet module to manage the nginx webserver.

vHosting

vHost Redirects

For redirecting traffic using a vHost, consider the following.

nginx::vhost::redirect { 'newprojects_to_projects':
  servername => 'newprojects.puppetlabs.com',
  port       => 80,
  dest       => 'https://projects.puppetlabs.com/',
}

This will receive requests destined to 'newprojects.puppetlabs.com' and redirect them to 'https://projects.puppetlabs.com/'.

Something went wrong with that request. Please try again.