Christoph Körner
9bedd7950a
Renamed params to fastcgi_param and moved to fastcgi.erb
2014-08-13 12:24:59 +02:00
Christoph Körner
96138715d1
Add support of custom fastcgi_params
2014-08-11 10:04:21 +02:00
Carl P. Corliss
7be12d0870
new raw_prepend / raw_append feature for vhosts & locations
...
- added raw_prepend / raw_append to vhosts & locations, which
adds raw lines to the vhost/location /without/ semicolons
- added location_raw_prepend / location_raw_append to vhost
for passing through to default location
- added spec tests for new parameters
- cleaned up location specs to match new header/body/footer setup
reducing duplicate checks by testing header/footer separately.
- cleaned up whitespace (2 space) in touched files
- used `<%-` in erb templates to allow the use of leading
whitespace, making the logic flow more readable
- Also adds spec tests for recent vhost updates:
- client_body_timeout
- client_header_timeout
- gzip_types
- testing that the first server_name is used when www_to_non_www is true
2014-06-26 00:00:37 -04:00
Carl P. Corliss
9b14ba901e
add ability to designate location as internal
2014-06-24 10:42:27 -04:00
Lee Packham
8eb26b792b
Fix all rspec tests so they run
...
For some reason these have been broken forever. Travis was failing,
correctly. I have updated the tests to be correct to how the code
actually works.
I would also suggest that if this is merged, we stop merging PRs that
have failed test runs. Tests matter in a module like this.
2014-06-10 22:10:00 +01:00
eSe
7e6794492e
Fix tests
2014-03-13 12:27:50 +01:00
eSe
2271ce5255
Fix indent for location parameters to 4 spaces
2014-03-12 17:18:05 +01:00
Daniel Black
7e56183c00
remove arrays from keys
2014-03-12 18:21:15 +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
e3f2b804d5
Added tests for hashes as values in location templates
2014-03-06 16:22:30 +01:00
Matthew Haughton
325ae7e6de
test vhost name is sanitized
2014-01-18 13:31:05 -05: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
Matthew Haughton
8e71d33121
validations for nginx::resource::location
2014-01-07 23:04:49 -05:00
Matthew Haughton
26d904c946
use new 'without_content' matcher
2013-12-08 16:54:20 -05:00
Matthew Haughton
36319cd5e0
set default facts for all manifests
2013-12-07 13:39:24 -05:00
Matthew Haughton
db68cf39ae
include_class is deprecated
2013-12-07 13:39:24 -05:00
James Fryman
7c1674202a
Merge pull request #170 from TelekomCloud/feature/set_proxy_method_and_body
...
Add support for proxy method and body
2013-12-05 07:48:18 -08:00
Matthew Haughton
d849c31c35
switch location resource to concat pattern
2013-11-30 21:24:55 -05:00
Matthew Haughton
2459844373
add puppetlabs-concat dependency
2013-11-30 20:33:10 -05:00
Dominik Richter
aa611dc938
added specs for proxy_method and proxy_set_body
...
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2013-11-28 11:42:34 +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
Matthew Haughton
962fa6672a
rspec tests for v0.0.6
...
Resolves #65
2013-11-21 22:14:00 -05:00