Lebedev Vadim
7b33e458a9
* fix
2014-04-13 13:26:25 +04:00
Lebedev Vadim
19acfe0356
Add option proxy_connect_timeout
...
Bug fix
2014-04-12 23:17:45 +04:00
eSe
2271ce5255
Fix indent for location parameters to 4 spaces
2014-03-12 17:18:05 +01:00
eSe
0ade406a89
Remove Arrays as keys in templates
2014-03-11 17:24:30 +01:00
eSe
7614bceec1
Fix custom_cfg_[prepend,append]
2014-03-10 12:52:12 +01:00
eSe
3ef66c6f63
Fix formatting errors
2014-03-10 10:26:35 +01:00
eSe
dd898c2a0a
Fix syntax errors
2014-03-09 20:46:13 +01:00
Daniel Black
36f63ccc16
location_custom_cfg_{prepend,append} for vhost_location_alias
2014-03-08 12:32:40 +11:00
Daniel Black
4f8096c52c
Extend hash based host_cfg_{ssl_,}{prepend,append} to vhost_{ssl_,}{header,footer}. fix vhost_location_alias/vhost_location_directory. Add {location_custom_cfg_prepend,append} to vhost_location_fastcgi, vhost_location_proxy and vhost_location_stub_status.
2014-03-08 12:16:07 +11:00
Daniel Black
fdc05942f5
vhost_location_directory merge fix - missing end
2014-03-08 01:38:39 +11:00
Daniel Black
a66cd98ea9
Merge https://github.com/ese/puppet-nginx into hash
...
Resolved Conflicts:
spec/defines/resource_location_spec.rb
templates/vhost/vhost_location_alias.erb
templates/vhost/vhost_location_directory.erb
templates/vhost/vhost_location_empty.erb
templates/vhost/vhost_location_fastcgi.erb
templates/vhost/vhost_location_proxy.erb
templates/vhost/vhost_location_stub_status.erb
2014-03-08 01:20:58 +11:00
Daniel Black
04e34dce39
Key value parameter maps to take array as value
...
Allow arrays to be specified as values in location_cfg_{prepend,append} and
vhost_cfg_{ssl_,}{prepend,append} parameters.
2014-03-07 23:53:32 +11:00
eSe
c07d99c5db
Allow values to be hashes at prepend,append,custom cfg for locations
2014-03-05 17:05:46 +01:00
Markus Rekkenbeil
971e1a7692
Update vhost_location documentation and template
2014-02-10 18:14:18 +01:00
Lebedev Vadim
d340eea512
remove sort array in location_custom_cfg_*
2014-01-17 20:08:01 +04:00
Lebedev Vadim
a4ddf886b2
Merge branch 'master' of https://github.com/jfryman/puppet-nginx into dev
2014-01-14 19:57:45 +04:00
Matthew Haughton
dc3817f9ae
added rewrite to location/proxy & vhost
...
With credit to https://github.com/OmarzT
2014-01-13 13:20:02 -05:00
Lebedev Vadim
e94af129e4
Fixed long names virtual hosts, such as nginx::resource::vhost { 'name1.domainname.org name2.domainname.org': }
...
Add example nginx::vhost with HTTPS FastCGI and redirection of HTTP
Add location_custom_cfg_prepend & location_custom_cfg_append. Used for logical structures such as if.
Fix puppet-lint
2014-01-12 23:15:14 +04:00
Chris D'Ambrosio
78e025b250
Fix index_files ivar warning
...
Fix the index_files instance variable deprecation warning.
2014-01-05 22:44:54 -08:00
Omar Tamer
1566daa60f
added rewrite to location/proxy & vhost
2014-01-02 18:13:59 +00:00
Lebedev Vadim
611c80f75e
Fixed the ability to disable the index_files
2013-12-25 04:13:22 +04:00
Daniel Black
f338f304c5
Force index_files to Array before iteration in templates
2013-12-19 15:51:59 +10:00
Markus Rekkenbeil
b79259ed8b
Add nginx autoindex to resource nginx::location and style up the
...
nginx::vhost directory template
Signed-off-by: Markus Rekkenbeil <markus@bionix-it.de>
2013-12-16 17:36:24 +01:00
Markus Rekkenbeil
b7986f3dc3
Add nginx::vhost option 'autoindex'
...
Signed-off-by: Markus Rekkenbeil <markus@bionix-it.de>
2013-12-12 17:27:29 +01:00
Matthew Haughton
43d628d4f0
fix auth_basic/auth_basic_user_file variable detection
2013-11-21 23:22:01 -05:00
Matthew Haughton
4af2087867
fix spacing issues in various templates
...
Before this change, vhost_ssl_header would merge
"ssl" with any listen options, e.g.:
listen *:443 ssldefault;
when listen_options => 'default'.
2013-11-21 23:04:39 -05:00
Matthew Haughton
ef2a5e4f15
fix syntax of allow/deny directives
2013-11-21 22:35:44 -05:00
Ashley Penney
39bc3f16ac
This commit addresses issue #49 , the lack of ways to set allow and
...
deny rules within a location.
2013-09-04 13:04:28 -04:00
Lebedev Vadim
1efc72b53a
* Bug fix, remove each_line method
2013-08-23 12:58:43 +04:00
Abdoul Bah
e408cdc2f4
Update vhost_location_directory.erb
...
this does not affect ruby1.9
2013-08-15 21:05:38 +02:00
Abdoul Bah
d10eaa423a
Update vhost_location_directory.erb
2013-08-15 18:54:41 +02:00
Lebedev Vadim
49b5b79b76
* Option fastcgi_script fixed
...
* Options location_cfg_append and location_cfg_prepend added to fastcgi template
* Option www_root is optional now
* Options logging fixed in http template
* Auth_basic fixed in SSL vhost header
2013-08-01 01:07:59 +04:00
Arthur Leonard Andersen
0191a2fe28
Fix deprecated variable names
2013-07-17 20:42:57 +02:00
Lebedev Vadim
413271f84d
* Fixed log name in template vhost_ssl_header
...
* Better formatting for vhost_autogen.conf
2013-07-08 18:58:05 +04:00
Lebedev Vadim
8d33fd63f1
Merge branch 'master' of https://github.com/jfryman/puppet-nginx
...
Conflicts:
manifests/config.pp
manifests/init.pp
manifests/params.pp
manifests/resource/location.pp
manifests/resource/vhost.pp
manifests/service.pp
templates/vhost/vhost_footer.erb
templates/vhost/vhost_header.erb
templates/vhost/vhost_location_directory.erb
templates/vhost/vhost_location_proxy.erb
templates/vhost/vhost_ssl_header.erb
tests/vhost.pp
2013-05-21 16:30:21 +04:00
Lebedev Vadim
4f0c311901
* Fixed listen parameter in template vhost_ssl_header
...
* Added auth basic support
* Added vhost_cfg_append parameter to `nginx::resource::vhost`
2013-05-20 18:30:32 +04:00
Ingmar Steen
77ed64d2fa
Stabilize key/value output by sorting hashes on key.
2013-05-09 14:51:31 +02:00
Lebedev Vadim
9672b7d345
* Get ssl key/cert with provided file-locations
...
* Parameter index has now become optional
* Fix typos
2013-04-16 20:12:32 +04:00
Ryan Fitzgerald
a5b7258f63
fixing vhost template
2013-01-22 18:28:06 +00:00
Hunter Haugen
e419006b74
Add try_files option
...
Nginx supports a option via http://wiki.nginx.org/HttpCoreModule#try_files and this adds this as a parameter
2012-11-08 14:15:28 -08:00
Guzmán Brasó
49beb91993
James,
...
This is the best way I found to tackle the problem of custom directives, trying to
avoid common usage of module involve hacking the module/template to be able place
custom directives.
Right now support was added only for location context (default and custom ones),
it expects a hash with key value and it's supported on all current location types.
Added an example inside location.pp, usage it's pretty easy.
2012-10-02 23:35:56 -03:00
James Fryman
ebd481d570
Added SuSE Support
2011-06-06 17:25:04 -05:00