Commit graph

1234 commits

Author SHA1 Message Date
Jeroen Hooyberghs
8391ab0fc7 add http2 as possible param for a vhost 2015-10-23 22:16:11 +02:00
Mathieu Frappier
2ca0d6b916 Replaced restart by reload 2015-10-23 16:43:59 +02:00
Alex Tomlins
1da7f0de48 Update vhost proxy_set_header defaults to match location
`nginx::resource::location` defaults this value to
`$::nginx::config::proxy_set_headers`, whereas `nginx::resource::vhost`
defaults it to `[]`. This means that you get a different set of defaults
if you use an explicit `nginx::resource::location` resource as opposed to
setting it up via an `nginx::resource::vhost` with a proxy attribute.

Updating this default value to be consistent will be less surprising.
2015-10-19 15:51:42 +01:00
James Fryman
01c320e804 Merge pull request #697 from split3/master
Adding support for stream configuration
2015-10-13 10:57:55 -05:00
James Fryman
9863624fd0 Merge pull request #699 from chad-thompson/master
Adding a QuickStart Guide to the NGINX Module
2015-10-11 11:02:37 -07:00
Chad Thompson
3a813ca085 Break the link to a variable 2015-10-10 14:33:11 -05:00
Chad Thompson
350a1c9698 Fix the link to the QuickStart Guice 2015-10-10 14:31:57 -05:00
Chad Thompson
e534823cc3 Fix the link to the QuickStart Guice
This should make the link to the QuickStart pull request ready.
2015-10-10 14:31:29 -05:00
Chad Thompson
70091da1f5 Add a link to the QuickStart guide 2015-10-10 14:29:32 -05:00
Chad Thompson
f743ef65af Remove the preamble as unnecessary 2015-10-10 14:21:17 -05:00
Chad Thompson
3084787f77 Add sections to the quickstart 2015-10-10 14:13:22 -05:00
Chad Thompson
18a69a6247 First commit of the QuickStart 2015-10-10 13:36:23 -05:00
Daniel Hopper
45c6162bf1 Added spec tests and set proxy to undef for streamhost 2015-10-09 12:30:56 -04:00
Daniel Hopper
7df1b40475 Adding support for stream configuration 2015-10-08 15:50:46 -04:00
James Fryman
4515925247 Merge pull request #689 from erikanderson/master
Convert $priority to integer before comparison
2015-10-01 22:26:35 -05:00
Erik Anderson
46126b9e9d Convert $priority to integer before comparison
Comparison was causing an error with parser = future and stringify_facts = false. This ensures that the comparison is done between two integers
2015-09-22 12:39:37 -06:00
Matthew Haughton
1860f92d29 Merge pull request #683 from kronos-pbrideau/patch-www_to_non_www
iterate server_name when rewrite_www_to_non_www is used
2015-09-16 11:05:39 -04:00
Patrick Brideau
56d4c142bf Correct spec test 2015-09-15 15:25:02 -04:00
Patrick Brideau
2fcc2306ad iterate server_name when rewrite_www_to_non_www is used 2015-09-15 11:58:17 -04:00
James Fryman
d4d55c309b Merge pull request #675 from kronostechnologies/refact/upstream
adding a max_fails parameter to upstream member[s]
2015-09-08 10:11:47 -05:00
Simon Vigneux
27ec19164d adding a max_fails parameter to upstream member[s] 2015-09-01 16:24:28 -04:00
James Fryman
979f8227bf Merge pull request #673 from kwolf/master
Add 'ensure' parameter to resource::upstream::member.
2015-08-31 10:45:57 -05:00
Kevin Wolf
b2ec36de09 Did not need the trailing ";". 2015-08-28 15:22:55 -05:00
Kevin Wolf
52a1f6e653 Add an ensure option to nginx::resource::upstream::member.
Currently there is no way to ensure => absent.  I'm using these with
stored configs to have servers register the member only, not the
upstream.  Removing them in a mis-configured incident is a bit of a
burden without ensure => absent.

Tests are passing under Ruby 2.1
2015-08-28 15:07:23 -05:00
Kevin Wolf
398d0c9ae7 Merge branch 'master' of github.com:jfryman/puppet-nginx 2015-08-28 14:59:42 -05:00
James Fryman
3d6a4ed720 Merge pull request #669 from Hufschmidt/master
Update non-hiera usage (see #536)
2015-08-11 11:02:07 -05:00
Thomas Hufschmidt
5fa81822b3 Update hiera.md
Improved wording on non-hiera example.
2015-08-11 08:38:13 +02:00
Thomas Hufschmidt
69aa88000f Update hiera.md
Improvement to non-hiera usage example. 

* Fixed potention dependendy-cicle issue with example.
2015-08-11 08:36:47 +02:00
Matthew Haughton
e710cccd4c Merge pull request #666 from PierreR/patch-4
Don't qualified call to defined resource type
2015-08-10 12:56:35 -04:00
Kevin Wolf
6d4b7f0b18 adding semi-colon to end of location_custom_cfg_append options. 2015-08-07 13:45:38 -05:00
Pi3r
44c6595ffa Don't qualified call to defined resource type
I don't think this is an valid improvement (over non qualification).

My main motivation comes from the fact that it is not currently supported so well by "language-puppet".
2015-08-07 14:29:23 +02:00
Matthew Haughton
01f914df3d Merge pull request #660 from 3flex/ssl_performance_directives
vhost: add ssl_buffer_size to SSL config
2015-07-11 20:37:16 -04:00
Matthew Haughton
3375223bc5 Merge pull request #659 from 3flex/gzip_enhancements
add remaining gzip directives
2015-07-11 20:37:08 -04:00
Matthew Haughton
7478d4fafd vhost: add ssl_buffer_size to SSL config 2015-07-11 19:53:30 -04:00
Matthew Haughton
35577ccc88 add remaining gzip directives
Closes #367
2015-07-11 17:07:56 -04:00
Matthew Haughton
d1b0908f0c Merge pull request #652 from pulecp/master
update default SSL ciphers
2015-07-09 10:50:28 -04:00
Matthew Haughton
9ef5ec1ba2 Merge pull request #658 from gujaws/feature_sort_ssl_header
sort add_header values for ssl vhost
2015-07-09 10:34:17 -04:00
Christian Groschupp
203235199b sort add_header values for ssl vhost 2015-07-08 16:44:05 +02:00
Matthew Haughton
c1563a7eb3 readme: fix example to reflect SSL key management changes
Thanks @yarikdot

https://github.com/jfryman/puppet-nginx/issues/638#issuecomment-118164472
2015-07-02 21:04:06 -04:00
Pavel Pulec
6813755076 update default SSL ciphers 2015-06-24 11:34:59 +02:00
James Fryman
af1f9cad39 bumping version to 0.2.7 2015-06-17 17:01:53 -07:00
Matthew Haughton
110b8bbdbc Merge pull request #642 from jd-daniels/master
Allow better control of http level proxy directives
2015-06-15 11:11:11 -04:00
John Daniels
310ed828c2 Adjusted tests for proxy variables. 2015-06-15 10:03:27 -04:00
Matthew Haughton
a3644ca037 Merge pull request #643 from jfryman/revert-624-master
Revert "Require base folder for resources"
2015-06-12 22:19:49 -04:00
Matthew Haughton
adcdef6f08 metadata: stick to puppetlabs-concat 1.x
The puppetlabs-concat 2.x series has been yanked. Since we don't know what
format the new module will take, we should not declare compatibility with it.

See https://groups.google.com/forum/#!topic/puppet-users/4_Sxrfl4uUY

Reverts 4fd696f
2015-06-12 22:17:05 -04:00
Matthew Haughton
7733db5432 Revert "Require base folder for resources" 2015-06-12 22:05:09 -04:00
John Daniels
10f7710e8d Moved conf.d/proxy.conf into nginx.conf. 2015-06-12 09:38:06 -04:00
Matthew Haughton
e87bdfafda Merge pull request #635 from geoffgarside/create-log-files
Create directory for log files
2015-06-03 22:51:17 -04:00
Jacob McCoy Wade
3b21779bfc removing proxy_cache_path_hash from nginx::config and adding validation for either
has or string for proxy_cache_path

made the conditional test to use is_a?(Hash) for simplicity's sake in
templates/conf.d/nginx.conf.erb
2015-06-03 14:45:19 -07:00
Jacob McCoy Wade
4d93e049ca Adding ability to add proxy_cache_use_stale and proxy_cache_key within a location resource
Adding spec tests for proxy_cache_key and proxy_cache_use_stale
2015-06-03 14:44:47 -07:00