example42/puppet-nginx — pull request #29 by pafei (2013-08-09 08:40:16+00:00)
Title: ressource::location supports redirects

Redirect support for locations. Example usage:

nginx::resource::location {"www.example.org-wiki":
ensure => present,
vhost => 'www.example.org',
location => '/wiki',
redirect => 'http://wiki.example.org'
}

Additionaly prepared vhost and location for backward compatibility.