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
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
Matthew Robinson
75422ccf78
Add support for managing events.accept_mutex settings
2016-01-25 19:41:06 -08: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
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
Phil Friderici
c849c2cb7d
Add parameter to allow setting error_log severity level
2015-11-01 13:14:08 +00: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
7df1b40475
Adding support for stream configuration
2015-10-08 15:50:46 -04:00
Matthew Haughton
35577ccc88
add remaining gzip directives
...
Closes #367
2015-07-11 17:07:56 -04:00
John Daniels
10f7710e8d
Moved conf.d/proxy.conf into nginx.conf.
2015-06-12 09:38:06 -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
Geoff Garside
27334c1bd4
Manage the nginx log directory.
...
Ensure the nginx::config::log_dir exists so that the access.log and error.log can be created. Also any nginx::vhost also put their access/error logs in this directory as well. This is done so that on platforms where /var/log/nginx is not created by package installation it exists so that nginx can startup and create the log files.
When vhost purge is enabled the log directory will not be touched and the log files will remain.
2015-06-03 20:43:52 +01:00
Jacob McCoy Wade
876713f895
Adding ability to specify multiple proxy_cache_path entries with unique
...
proxy_cache_keys_zone values
2015-06-02 11:01:45 -07:00
Matthew Haughton
810d36d3a8
config: refined worker_processes validation
...
Closes #540
2015-04-01 23:34:31 -04:00
Prachetas Prabhu
519f17a55e
Adds a parameter to prepend configuration elements to the main nginx.conf file
2014-12-26 16:54:26 +00:00
Matthew Haughton
be30b57531
Merge pull request #531 from ckaenzig/optional-proxy-http-version
...
Allow disabling proxy_http_version directive
2014-12-18 10:08:52 -05:00
Christian Kaenzig
6a4e4b4e73
Disable proxy_http_version directive by default
...
The default value in nginx::config was the same as nginx's default,
so it's not necessary to be set in any version of nginx unless one
needs a specific value. This also allows us to use undef when we don't
want the directive to be set instead of false.
Also added a test for the default case.
2014-12-18 11:22:44 +01:00
Christian Kaenzig
7432862fe8
Allow disabling proxy_http_version directive
...
The EPEL 6 repository still has version 1.0.15 which does not support
this directive proxy_http_version. Yes, this version is old, but a lot
of people prefer not to use a bleeding edge version from nginx.org.
2014-12-16 17:27:34 +01:00
Jim Radford
4883b3a1c2
Notify the service after purging configuration files
2014-12-10 11:16:03 -08:00
Joshua B. Bussdieker
2e221a7e0f
Support specifying log formats
2014-12-03 23:26:10 -05:00
James Fryman
c87744aab9
Adjust integers to strings.
...
As part of merging #501 , default values for config.pp were integers. However,
many of the current logic expects to see strings for many values. This commit
fixes things up while the validation logic can be adjusted to take account
integer.
2014-11-24 11:22:41 -06:00
James Fryman
0d939d3e13
fixing up specs/config parameters
2014-11-22 12:40:01 -06:00
James Fryman
785a5c9901
inherit params
2014-11-17 12:37:23 -06:00
James Fryman
9310f7e660
adjust default worker count
2014-11-17 09:28:51 -06:00
Matthew Haughton
95f3cf13ab
config.pp: add missing comma
2014-11-10 14:11:14 -05:00
James Fryman
ef5f04d474
rename parameter logdir -> log_dir
2014-11-08 17:24:26 +01:00
James Fryman
a070813cc1
extracted all variables back to params.pp pattern
2014-11-08 17:22:30 +01:00
James Fryman
72a2461833
sync up data organization
2014-11-02 14:03:43 +01:00
James Fryman
035472208c
seperate module/user parameters in config
2014-10-27 16:44:06 +01:00
Matthew Haughton
fad593a8f2
remove configtest_enable from nginx::config
...
It will continue to be set in the main nginx class.
2014-09-23 15:39:41 -04:00
Matthew Haughton
00ec3f4e35
spec fixes
2014-09-21 01:27:35 -04:00
James Fryman
9bd63d348d
Introducing Puppet Module Tool
2014-09-20 13:29:40 -05:00
Matthew Haughton
88d8984876
Fix remaining lint warnings
2014-08-18 23:04: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
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
Jan Örnstedt
7459e91744
Made config dir available as a parameter.
2014-06-13 13:51:45 +02:00
Jan Örnstedt
526620183d
Added daemon_user as a parameter.
2014-06-05 00:00:41 +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
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
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