Daniel Kerwin
d11c6be681
Allow basic_auth for proxy locations and introducing parameter proxy_headers_hash_bucket_size with default of 64
2014-05-15 16:18:27 +02:00
Lebedev Vadim
19acfe0356
Add option proxy_connect_timeout
...
Bug fix
2014-04-12 23:17:45 +04:00
John Bond
1b7ac9ab43
Add additional config to the locations section of config
...
Following parameters where added to the location resourse. These
already existsed in the vhost resource so the same logic and defaults
where used
* proxy_set_header
* proxy_connect_timeout
* proxy_redirect
2014-04-09 17:48:32 +02: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
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
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
pessoa
ca151970e6
add location_custom_cfg_prepend support
2014-02-17 19:51:14 +00:00
Tristan Helmich
05386c2b74
Allow location_{allow,deny} to be used for proxy locations
2014-02-07 13:44:23 +01: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
Omar Tamer
1566daa60f
added rewrite to location/proxy & vhost
2014-01-02 18:13:59 +00:00
Dominik Richter
709c25e82e
simplified checks if variables are set in vhost_location_proxy template
...
kudos to Matthew Haughton for this suggestion
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2013-11-27 19:56:04 +01:00
Dominik Richter
a83c513ac4
feature: add configurable proxy_set_body to vhost and location resources
...
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2013-11-27 15:12:56 +01:00
Dominik Richter
a578dcea50
feature: add configurable proxy_method to vhost and location resources
...
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2013-11-27 15:12:56 +01: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
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
Ingmar Steen
77ed64d2fa
Stabilize key/value output by sorting hashes on key.
2013-05-09 14:51:31 +02:00
Sander Hoentjen
3630b74c72
return the newline between cfg lines
2013-05-06 11:38:34 +02:00
David Kitchen
7e33272f84
Changed SSL ciphers to the recent default for Nginx which is much
...
more secure
Added SSL caching to speed up SSL requests
Add server_tokens to the global config so this can be turned on|off
between dev and prod
Add proxy_set_header to vhost as different vhosts may require different
headers and the global setting is not ideal
Minor space formatting so that the generated files are fractionally
more readable
2013-04-24 09:42:06 +01:00
Lebedev Vadim
6defe17d0f
Add proxy_cache parameters
...
Fix puppet-lint
2013-03-27 22:13:52 +04: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
Christian G. Warden
942c659fd0
Add per-location proxy read timeout parameter
...
Add a proxy_read_timeout parameter to set the read timeout setting
per-location. The parameter can also be passed when declaring a vhost,
in which case it will apply to the root location.
2012-01-30 11:14:57 -08:00
James Fryman
ebd481d570
Added SuSE Support
2011-06-06 17:25:04 -05:00