Commit graph

556 commits

Author SHA1 Message Date
Iain Buclaw
bef7b09f2e
Add ssl_session_tickets and ssl_session_ticket_key parameters 2016-06-17 12:07:33 +02:00
Matthew Haughton
fe0af9e4e6 Merge pull request #788 from hbog/proxy_cache_valid
Add support for multiple 'proxy_cache_valid' directives
2016-04-12 18:09:21 -04:00
Rafael Chicoli
e43d8dca86 add ssl_verify_client parameter 2016-04-12 14:14:01 +02:00
Herwig Bogaert
e62342e779 new proxy_cache_valid parameter validation 2016-04-12 10:03:08 +02:00
James Fryman
f13fdc02a0 Merge pull request #747 from Ensighten/add_events_accept_mutex_delay
Add events accept mutex delay
2016-04-04 12:54:37 -05:00
herwig Bogaert
40d157482e Allow multiple 'proxy_cache_valid' directives 2016-03-25 11:28:26 +00:00
Vicinus, Reinhard
f8ced072d9 bugfix: convert integer strings to integer
with puppet 4 the following is no longer true: 1 == '1'. So with puppet 4 it
must be ensured, that when variables are compared either both are integer or
both are strings.
2016-03-06 10:18:12 +01:00
Matthew Haughton
d3826d74d8 Merge pull request #772 from bernhardjt/feature_satisfy
Add "satisfy" option to the location section
2016-02-25 16:39:09 -05:00
Bernhard Thüsch
2154002e73 Add "satisfy" option to the location section
https://www.nginx.com/resources/admin-guide/restricting-access/
http://nginx.org/en/docs/http/ngx_http_core_module.html?&_ga=1.238118336.1949645469.1456390584#satisfy
2016-02-25 18:30:21 +01:00
kisst
ff6c2b341d update catch all vhost example doc 2016-02-24 14:33:01 +00:00
Marcin Lipiec
9e0e51c27c Fixing ruby <-> puppet misconfiguration - warning() should be used instead of warn(). 2016-02-22 14:56:59 +01:00
Matthew Haughton
1d4fb7ad07 config: gzip_types undef by default
No change to server behaviour. Fixes #748
2016-02-08 16:26:32 -05:00
James Fryman
6689f3025d Merge pull request #757 from brandonweeks/concat2.x
Supress warnings with concat 2.x
2016-02-08 15:03:12 -06:00
Eric Anderson
613ef01775 removed invalid resource parameters from doc 2016-02-04 16:16:27 -08:00
Brandon Weeks
e40ce7cea6 Supress warnings with concat 2.x 2016-02-02 17:40:42 -08:00
Ievgen Varavva
ac0ccdfded Fix a typo in location_custom_cfg_append description. 2016-02-02 16:29:00 +00:00
Matthew Robinson
75422ccf78 Add support for managing events.accept_mutex settings 2016-01-25 19:41:06 -08:00
Jan
2db55e9bd0 Added locations paramater to use it in hiera. 2016-01-17 15:48:38 +01:00
James Fryman
72e7c579ca Merge pull request #724 from vicinus/master
improved location ordering
2015-11-30 07:35:12 -06:00
James Fryman
0e930e9ed3 Merge pull request #637 from jacobmw/proxy_cache_path
Multiple proxy_cache_path entries
2015-11-30 07:32:05 -06:00
Vicinus, Reinhard
15dfc77709 improved location ordering 2015-11-30 12:19:20 +01:00
Matthew Haughton
c728f8ce1f Merge pull request #715 from 3flex/694-deprecate-proxy_conf_template
Deprecate $proxy_conf_template
2015-11-05 13:22:36 -05:00
Matthew Haughton
d034b302f2 Deprecate $proxy_conf_template
This parameter has no effect as of #642
2015-11-05 11:13:50 -05:00
Matthew Haughton
0c7973b20c Merge pull request #705 from kwolf/master
Ensure isn't being respected on locations.
2015-11-05 10:52:12 -05:00
James Fryman
cae1e8f17a Merge pull request #700 from alphagov/default_proxy_headers
Update vhost proxy_set_header defaults to match location
2015-11-02 13:39:44 -06:00
James Fryman
36a64b0e31 Merge pull request #702 from matfra/master
Replaced restart by reload
2015-11-02 13:39:20 -06:00
James Fryman
f54a88975a Merge pull request #707 from werekraken/unix_socket
Add unix socket for listening.
2015-11-02 13:38:26 -06:00
Phil Friderici
c849c2cb7d Add parameter to allow setting error_log severity level 2015-11-01 13:14:08 +00:00
matt.cover
57a42466cf Add unix socket for listening. 2015-10-30 12:14:47 -07:00
Kevin Wolf
49e3b06aa1 Ensure isn't being respected on locations. 2015-10-29 13:27:07 -05:00
James Fryman
d5bdfb252c Merge pull request #703 from jhooyberghs/http2_support
Http2 support
2015-10-25 12:52:29 -05:00
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
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
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
Simon Vigneux
27ec19164d adding a max_fails parameter to upstream member[s] 2015-09-01 16:24:28 -04: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
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
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
Pavel Pulec
6813755076 update default SSL ciphers 2015-06-24 11:34:59 +02: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
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