netmanagers / puppet-nginx

[UNMAINTAINED] Puppet Nginx module
http://www.example42.com
Other
37 stars 60 forks source link

allow us to not specify headers #53

Closed dodwmd closed 10 years ago

dodwmd commented 10 years ago

set headers aren't always needed. this allows us to remove the default added headers.

nginx::resource::location { 'somevhost-somelocation': ensure => present, vhost => 'somevhost', location => '~ ^/somedir/stuff.*$', proxy => 'http://10.0.0.1:80', proxy_set_header => ''; }

dodwmd commented 10 years ago

Also added a method for allowing auth on directories and locations

javierbertoli commented 10 years ago

Hi @dodwmd, sorry for not paying attention to this before, but got involved in a project that kept me busy enough to overlook it.

Fixed some minor things that were duplicating modifications from #52 and merged it. Thanks!