Prachetas Prabhu
ce407aa06d
Remove spaces form nginx erb prepend block
2014-12-26 17:16:12 +00: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
Sergio Ballesteros
4a3f7f1e31
Allow arrays values in
2014-12-11 16:17:30 +01:00
Joshua B. Bussdieker
2e221a7e0f
Support specifying log formats
2014-12-03 23:26:10 -05:00
Carl P. Corliss
fb880576a6
cleanup resultant whitespace and key/value alignment in config files
...
- fix tests related to whitespace changes
2014-09-13 04:13:18 -04: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
Robin Gloster
3387346d4b
Make sendfile configurable
...
Conflicts:
manifests/init.pp
2014-06-20 16:09:02 +02:00
Jan Örnstedt
7459e91744
Made config dir available as a parameter.
2014-06-13 13:51:45 +02:00
James Fryman
9c7cf2d182
Merge pull request #328 from janorn/run_as_unprivileged
...
Run as unprivileged user
2014-06-11 12:55:12 -05:00
Lee Packham
8eb26b792b
Fix all rspec tests so they run
...
For some reason these have been broken forever. Travis was failing,
correctly. I have updated the tests to be correct to how the code
actually works.
I would also suggest that if this is merged, we stop merging PRs that
have failed test runs. Tests matter in a module like this.
2014-06-10 22:10:00 +01: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
Steffen Zieger
ce2bd7f068
add option for multi_accept and events_use
2014-05-31 16:06:23 +02:00
Edvinas Klovas
949a000e80
Add Archlinux support
...
This commit adds Archlinux support. This needs changes in nginx.conf.erb
template and manifests to support pid value set to `false` (this skips it from
nginx.conf). This is due to `-pid /run/nginx.pid` being hardcoded to Archlinux
template. If you specify pid additionally in `nginx.conf` then nginx fails to
start.
2014-05-15 23:55:24 +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
Joshua Moore
6fe431f698
SmartOS support
2014-03-24 17:07:38 -04:00
Joshua Moore
bbf820c09e
Replaced hardcoded values with scopelookup
2014-03-20 11:40:40 -04:00
Jean-François Roche
e0f716b0cf
remove unknown parameter
...
The parameter nginx::params::nx_tcp_nopush is never defined.
2014-03-18 11:21:14 +01:00
Daniel Kerwin
d831a869fc
Add setting worker_rlimit_nofile with default of 1024
2014-03-12 18:17:41 +01:00
Maurits Landewers
e36aa73b6e
Make gzip configurable
2014-01-17 10:29:56 +01:00
Nathan Sullivan
70256dcb2a
improved version of support for server_names_hash_bucket_size and server_names_hash_max_size for https://github.com/jfryman/puppet-nginx/pull/178 - also a few puppet-lint fixes
2014-01-10 13:42:16 +10:00
Matthew Haughton
753283286f
switch vhost resource to concat pattern
...
Also uses sites-available/enabled pattern for config files
2013-11-30 21:24:50 -05:00
Todd Eddy
70207c9a65
Add logging customization to the main logs as well.
2013-08-07 21:27:13 -04:00
Lebedev Vadim
ae9303233c
Merge branch 'master' of https://github.com/jfryman/puppet-nginx into dev
...
Conflicts:
manifests/init.pp
2013-07-21 19:40:29 +04:00
Lebedev Vadim
386026fda8
Adding option http_cfg_append to class nginx
...
Fix puppet-lint
2013-07-21 04:12:18 +04:00
Arthur Leonard Andersen
0191a2fe28
Fix deprecated variable names
2013-07-17 20:42:57 +02:00
Stefan Dorosz
179b1a4b5d
Add server_names_hash_bucket_size param
2013-06-20 10:48:52 -04:00
Lebedev Vadim
d7cdd68c63
Merge branch 'master' of https://github.com/jfryman/puppet-nginx
2013-05-21 17:15:59 +04:00
Lebedev Vadim
8d33fd63f1
Merge branch 'master' of https://github.com/jfryman/puppet-nginx
...
Conflicts:
manifests/config.pp
manifests/init.pp
manifests/params.pp
manifests/resource/location.pp
manifests/resource/vhost.pp
manifests/service.pp
templates/vhost/vhost_footer.erb
templates/vhost/vhost_header.erb
templates/vhost/vhost_location_directory.erb
templates/vhost/vhost_location_proxy.erb
templates/vhost/vhost_ssl_header.erb
tests/vhost.pp
2013-05-21 16:30:21 +04:00
Bayard Randel
896d6658bb
added params for types_hash_max_size and types_hash_bucket_size expected by nginx 1.2.x
2013-05-14 14:57:35 +12:00
David Kitchen
7e33272f84
Changed SSL ciphers to the recent default for Nginx which is much
...
more secure
Added SSL caching to speed up SSL requests
Add server_tokens to the global config so this can be turned on|off
between dev and prod
Add proxy_set_header to vhost as different vhosts may require different
headers and the global setting is not ideal
Minor space formatting so that the generated files are fractionally
more readable
2013-04-24 09:42:06 +01:00
Sander Hoentjen
4d05075f64
add support for mail module
...
See http://wiki.nginx.org/Modules#Mail_modules
Sample Usage:
nginx::resource::mailhost { 'domain1.example':
ensure => present,
auth_http => 'server2.example/cgi-bin/auth',
protocol => 'smtp',
listen_port => 587,
ssl_port => 465,
starttls => 'only',
xclient => 'off',
ssl => 'true',
ssl_cert => '/tmp/server.crt',
ssl_key => '/tmp/server.pem',
}
2013-04-06 11:11:23 +02:00
Lebedev Vadim
6defe17d0f
Add proxy_cache parameters
...
Fix puppet-lint
2013-03-27 22:13:52 +04:00
Lebedev Vadim
74cfbe6c72
Add $nx_types_hash_max_size params
...
Fix puppet-lint ERROR
2013-03-16 13:34:07 +04:00
Guzmán Brasó
e1363545ae
Moved worker_connections, worker_process and proxy_set_header to the new structure, backwards compatible
...
Defaults are set inside params, nginx class will set default and send it from local var to nginx::config,
so even when there is no need for set default values on nginx::config, in case someone already using
this module it's for some reason calling directly nginx::config, to avoid breaking anything defaults are
set inside nginx::config too.
2012-10-01 22:02:44 -03:00
Guilherme Reis Campos
5c4c00d726
fixing nginx.conf.erb. otherwise it will lookup for a FalseClass or TrueClass variable
2012-10-01 16:00:18 -03:00
James Fryman
ebd481d570
Added SuSE Support
2011-06-06 17:25:04 -05:00