Commit graph

109 commits

Author SHA1 Message Date
Matthew Haughton
b17020dca8 test httpoxy workaround 2016-07-22 10:14:37 +02:00
Josh Samuelson
12dfb7e98d Support for proxy_hide_header directive.
I need this to hide X-Frame-Options for a single location block.

From nginx docs:
By default, nginx does not pass the header fields “Date”, “Server”,
“X-Pad”, and “X-Accel-...” from the response of a proxied server to a
client. The proxy_hide_header directive sets additional fields that will
not be passed.
2016-05-12 09:09:16 -07: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
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
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
Vicinus, Reinhard
15dfc77709 improved location ordering 2015-11-30 12:19:20 +01:00
matt.cover
57a42466cf Add unix socket for listening. 2015-10-30 12:14:47 -07: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
Daniel Hopper
45c6162bf1 Added spec tests and set proxy to undef for streamhost 2015-10-09 12:30:56 -04:00
Patrick Brideau
56d4c142bf Correct spec test 2015-09-15 15:25:02 -04:00
Matthew Haughton
7478d4fafd vhost: add ssl_buffer_size to SSL config 2015-07-11 19:53:30 -04:00
Christian Groschupp
203235199b sort add_header values for ssl vhost 2015-07-08 16:44:05 +02:00
Jacob McCoy Wade
66524e22b4 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-01 14:32:26 -07:00
Matthew Haughton
c143078763 spec: update upstream_spec for puppetlabs-concat 2 2015-05-19 11:55:41 -04:00
Matthew Haughton
678a361106 vhost: add ssl_crl parameter 2015-05-09 00:51:49 -04:00
Matthew Haughton
be4decdb78 vhost: don't copy any SSL files 2015-05-09 00:40:57 -04:00
Marin Vintila
a8cb664ef5 Fix uwsgi related tests 2015-05-08 18:00:35 +03:00
Marin Vintila
66ee87b89e Fix diff lines leftover from merge 2015-05-08 12:22:31 +03:00
Marin Vintila
77aa952b20 Merge from master 2015-05-08 12:11:46 +03:00
Marin Vintila
5624e4ca55 Merge from master 2015-05-08 12:04:22 +03:00
Michael Marod
7e524d0785 change variable names as requested to match nginx params exactly... Also passenger_env_var is not set with passenger_set_env_var and this commit undoes that 2015-04-29 17:37:58 -04:00
Michael Marod
d0464923d1 Add passenger_env_var parameter which deprecates passenger_cgi_param to support Passenger 5.0+ 2015-04-29 12:33:42 -04:00
Michael Marod
0aed6c1978 Add passenger_header parameter which deprecates passenger_cgi_param to support Passenger 5.0+ 2015-04-29 12:24:38 -04:00
Matthew Haughton
cc2f6387f0 Merge pull request #608 from 3flex/572-remove-auth_basic_user_file-resource
location: remove the auth_basic_user_file resource
2015-04-21 13:42:20 -04:00
Matthew Haughton
d1b9221a51 location: remove the auth_basic_user_file resource
All it's doing right now is copying a file, but the copy of the file is
never referenced by the template.
2015-04-14 23:45:51 -04:00
Matthew Haughton
3027d9f35a location: move auth_basic directives to header
Allows setting these directives on any location:
* auth_basic
* auth_basic_user_file
2015-04-13 22:58:57 -04:00
Matthew Haughton
faa974b745 spec/Gemfile: switch to rspec-puppet 2
The big win is that it's now possible to test the future parser with the
latest Puppet release. In the past it wasn't possible to test future parser
with anything higher than 3.5.x.
2015-03-30 23:39:50 -04:00
James R. Carr
1c5b453d76 spec matched against the wrong thing 2015-03-23 14:50:28 -05:00
James R. Carr
6891c37864 added tests 2015-03-23 14:40:13 -05:00
James Fryman
2c52e08925 Merge pull request #546 from b4ldr/master
allow listen_ip and ipv6_listen_ip to contain a String or Array
2015-02-05 14:09:29 -06:00
James Fryman
a212b4855b Merge pull request #549 from asgoodasnu/redirect_with_params
do www-rewrite with params
2015-02-05 14:08:15 -06:00
Stefan Baryakov
5213d950f7 fix misspelling 2015-01-26 09:36:31 +01:00
Stefan Baryakov
d909327380 sort add_header values for vhost 2015-01-23 14:33:49 +01:00
paschdan
8acfac5b6d do www-rewrite with params 2015-01-19 17:14:46 +01:00
b4ldr
fdca7199f6 allow listen_ip and ipv6_listen_ip to contain a String or Array 2015-01-13 20:44:58 +00:00
Matthew Haughton
bbbb1ca130 Merge pull request #519 from 3flex/refactor-packages
Clean up package classes, allow installing mainline upstream packages
2014-12-14 21:25:56 -05:00
paschdan
708be8263d moves rewrite_rules to location_header
so it can be used by all location-types
2014-12-11 17:43:33 +01:00
Matthew Haughton
1898182c6d spec: cleanup
* Removed some tests that no longer apply and/or are redundant
* Only set OS facts when testing OS-specific behaviors. This simplifies the
  facts that must be set in the specs and saves running the same tests
  several times when the results wouldn't differ by OS anyway.
2014-12-09 19:47:05 -05:00
Sebastian Brückner
8f793211a5 Fix proxy_set_header for default location 2014-12-04 11:27:48 +01:00
Matthew Haughton
87015f9331 add/update tests for #462 2014-11-26 21:35:24 -05:00
Pierre Radermecker
c25c957a65 Use combined as a default for $format_log 2014-11-25 23:41:45 -05:00
Derrick Dymock
06ee2ca3ce Remove the SSLv3 by default in the vhost resource. 2014-10-15 10:52:31 -07:00
Daniel Dreier
22c6a7cb57 Allow internal-only location resources
Location resources with internal == true are valid, but the module does
not allow them unless one or more of www_root, proxy, location_alias,
stub_status, fastcgi, or location_custom_cfg are set

This patch allows locations with none of those but internal == true to
be created.

This is a re-implementation of jfryman/nginx PR-388.
2014-09-25 09:40:32 -07:00
James Fryman
b8e2ccc540 Merge pull request #453 from jfryman/add-puppet-module-tool
Introducing Puppet Module Data
2014-09-24 15:07:28 -07:00
cdenneen
324179e7a4 Add include files to locations 2014-09-23 18:52:14 -04:00
Matthew Haughton
00ec3f4e35 spec fixes 2014-09-21 01:27:35 -04:00
James Fryman
4c5f1e3b2a pass one of spec cleanup 2014-09-20 18:25:24 -05:00