Simon Stier
5a4f6069f9
Add use_temp_path into proxy_cache_path
...
see http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_path
2016-07-28 17:17:55 +02:00
Matthew Haughton
8eb657f2ea
Merge pull request #805 from samuelson/proxy_hide_header
...
Support for proxy_hide_header directive.
2016-06-23 13:48:27 -04:00
Iain Buclaw
446a3e9dcf
Add service_manage parameter
2016-06-23 15:28:17 +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
Mathieu Frappier
2ca0d6b916
Replaced restart by reload
2015-10-23 16:43:59 +02:00
Matthew Haughton
dfaa572525
init: fix create_resources declarations for old puppet versions
...
Fixes #550
2015-04-13 15:41:25 -04:00
James Fryman
878ea8ef25
Merge pull request #552 from buzzdeee/master
...
Allow to use OpenBSD specific service_flags and package_flavors.
2015-02-05 14:06:09 -06:00
Jim Radford
c2389b8e1e
Set up relationships for nginx::config even when overridden
...
This keeps the user from having to duplicate them when defining
nginx::config externally.
2015-01-29 12:32:34 -08:00
Sebastian Reitenbach
2960c10cd4
Allow to use OpenBSD specific service_flags and package_flavors.
...
Give example for passenger in README.md and add OpenBSD to the
supported OSs in metadata.json.
2015-01-23 15:34:53 +01:00
Matthew Haughton
dbd6a9ecc0
init: pass service_name to nginx::service class
2014-12-19 23:28:07 -05:00
Matthew Haughton
78d3b101d0
package: only set manage_repo => true
when appropriate
...
i.e. upstream provides a package for it
2014-12-10 21:23:04 -05:00
Matthew Haughton
5b09b23b12
package: refactor
2014-12-10 21:23:04 -05:00
Matthew Haughton
08c4a64b90
init: pass parameters when declaring nginx::service
2014-12-08 14:16:40 -05:00
Joshua B. Bussdieker
2e221a7e0f
Support specifying log formats
2014-12-03 23:26:10 -05:00
Matthew Haughton
f18dcf0f1f
fully qualify classes, defines and variables
2014-11-26 23:37:11 -05:00
Pi3r
4110c6b82b
Deprecated comment.
...
I believe the hiera backend `module_data` has been introduced in 0.1 and then dropped again in 0.2 (I don't know why exactly).
Is this correct ?
Anyhow, there is no `data` directory anymore. Please update the docs. I am not sure I can really trust any comment now ?
2014-11-23 23:54:42 +01:00
Matthew Haughton
1f79a5d848
change logdir to log_dir when calling config from init
2014-11-17 12:20:51 -05:00
James Fryman
d57c787087
allow user to declare nginx::config per docs
2014-11-17 09:11:04 -06:00
James Fryman
487c8cae2c
Changing deprecation notice
2014-11-08 17:38:06 +01:00
James Fryman
72a2461833
sync up data organization
2014-11-02 14:03:43 +01:00
James Fryman
6cf49ea0d4
sort parameters
2014-11-02 13:19:44 +01:00
Derrick Dymock
8ce1f7f093
Fix tabs and hash rocket alignment.
2014-10-22 11:30:34 -07:00
James Fryman
abe5824566
remove nginx::config and nginx::service deprecation notice
2014-09-23 09:11:22 -05:00
James Fryman
9bd63d348d
Introducing Puppet Module Tool
2014-09-20 13:29:40 -05:00
Frederik Wagner
ad391f67bf
added nginx_vhosts_defaults parameter hash
2014-09-15 23:11:26 -04:00
Matthew Haughton
a002d8932e
bug fixes surfaced by future parser
...
* concat::fragment requires 'order' to be a string
* init parameters added in #373 referred to wrong variable name in params.pp
* cannot perform regex match on a number, so make {fastcgi,proxy}_cache_levels
a string by default
* bug fixed in test suite
2014-09-04 23:24:14 -04:00
Matthew Haughton
7a0d717afe
Correct validation of {proxy,fastcgi}_cache_levels
...
Allow any combination of 1 and 2 in these formats: X, X:X,
and X:X:X, e.g.: "2", "2:2", "1:1:2". The old validation failed if
it wasn't an integer which didn't allow these formats.
2014-07-19 21:00:24 -04:00
Alkivi
bfbded71d4
Added owner group and mode parameter. For all users, per sites-available directory and per sites conf
2014-07-03 16:06:54 +02:00
mr-tron
15eff7a8df
Update init.pp
...
Bad logic for type validate.
2014-07-02 14:07:54 +04:00
Motiejus Jakštys
0a1dacf605
Allow using $http_cfg_append with list of lists
...
It should be possible to include array of arrays in order to have
duplicate configuration keys (when permitted), like:
nginx::http_cfg_append:
- [include, /etc/nginx/vhosts/*.ngx]
- [include, /etc/nginx/vhosts/*/*.ngx]
2014-07-01 06:35:20 +02:00
Maksym Melnychok
5b28d0553d
configuration revamp
...
- make many more things configurable
- stop using ::params::* for things that are configurable
- add worker_rlimit_nofile option
- add tcp_nopush option
2014-06-21 11:08:29 +02:00
Markus Handschuh
372b44276e
Fix sendfile config
...
Conflicts:
manifests/config.pp
manifests/init.pp
2014-06-20 16:13:00 +02:00
Robin Gloster
3387346d4b
Make sendfile configurable
...
Conflicts:
manifests/init.pp
2014-06-20 16:09:02 +02:00
James Fryman
03094eabe5
Merge pull request #337 from rabbitt/master
...
add ability to define geo and map mappings
2014-06-16 09:43:15 -05:00
Jan Örnstedt
7459e91744
Made config dir available as a parameter.
2014-06-13 13:51:45 +02:00
Carl P. Corliss
d3810eb61c
add geo and map mappings
2014-06-12 14:12:24 -04:00
Jan Örnstedt
526620183d
Added daemon_user as a parameter.
2014-06-05 00:00:41 +02:00
Jan Örnstedt
cc01a84e39
Validate boolean config option.
2014-06-04 23:28:33 +02:00
Jan Örnstedt
f5a12bdb33
Add super_user option to be able to launch nginx as unprivileged user without complains.
2014-06-04 23:28:32 +02:00
James Fryman
47a5beab0f
Merge pull request #326 from janorn/proxy_conf
...
Make proxy variables configurable via hiera
2014-06-04 23:12:18 +02:00
Steffen Zieger
e3aaac9bae
Fix validation of events_use parameter
2014-06-04 22:39:06 +02:00
Jan Örnstedt
8613a52be9
Added 4 proxy parameters.
...
client_body_buffer_size
proxy_connect_timeout
proxy_read_timeout
proxy_send_timeout
And reference these variabels in the template.
2014-06-04 22:19:10 +02:00
Matthew Schmitt
f0f00c6ca8
Puppet-lint fixes
2014-06-04 13:06:37 -07:00
Jan Örnstedt
1bc31631d4
Sorted all parameters alphabetically in the main nginx class and the nginx::config class.
2014-06-04 18:08:40 +02:00
Steffen Zieger
ce2bd7f068
add option for multi_accept and events_use
2014-05-31 16:06:23 +02:00
Daniel Kerwin
b793058afb
Add proxy_headers_hash_bucket_size to nginx::config
2014-05-15 16:34:01 +02:00
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
root
402febc599
Add fastcgi_cache_key and fastcgi_cache_use_stale parameters
2014-04-27 09:49:45 -04:00
root
659a8cd4d0
add additional fastcgi parameters
2014-04-26 11:14:55 -04:00
root
024cc33d62
add support for fastcgi_cache_path
2014-04-26 10:34:29 -04:00