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
James Fryman
e95a3abd46
Merge pull request #282 from genehand/master
...
Make proxy_redirect configurable
2014-04-06 09:42:49 -05:00
James Fryman
e20a343a7a
Merge pull request #285 from TracyWebTech/master
...
Removing default.conf and example_ssl.conf
2014-04-03 09:37:52 -05:00
Sergio Oliveira
940bf427ab
Removing default.conf and example_ssl.conf
2014-03-28 09:37:49 -03:00
James Fryman
c3646689f6
Update config.pp
2014-03-27 16:50:54 -05:00
Gene Hand
ea6129bf98
Make proxy_redirect configurable
2014-03-27 14:12:18 -07:00
James Fryman
aa89b20f98
Merge pull request #272 from DracoBlue/custom-template
...
Make template for nginx.conf.erb configurable
2014-03-19 11:21:48 -05:00
Daniel Kerwin
d831a869fc
Add setting worker_rlimit_nofile with default of 1024
2014-03-12 18:17:41 +01:00
DracoBlue
e11e932365
Added proxy_conf_template option
2014-03-10 21:44:46 +01:00
DracoBlue
7e6dcdc1ec
Added config variable for custom nginx.conf template
2014-03-10 21:19:25 +01:00
Zdenek Janda
58818b3a44
Ensure that vhosts are purged with new parameter purge_vhost
2014-03-07 22:18:10 +01:00
James Fryman
fb560784e8
Merge pull request #265 from huandu/master
...
Puppet removes dir only if "force => true"
2014-03-04 09:03:26 -06:00
Huan Du
eb11249734
puppet removes dir only if "force => true"
2014-03-04 17:03:17 +08:00
Siggi Wanke
559eba3d7b
Bugfix: Add missing gzip parameter
2014-02-14 09:47:38 +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
ac8c74d78b
warn on inclusion of nginx::config
2014-01-07 23:16:54 -05:00
Matthew Haughton
684fafc559
Remove the now unused file fragments from /tmp
2013-12-02 13:53:10 -05:00
Matthew Haughton
eb31df40d6
Remove vhost and mailhost vhost_autogen.conf
...
Don't generate it anymore, and remove any existing file from
people's systems
2013-11-30 21:24:55 -05: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
Lebedev Vadim
20a37a220f
Merge branch 'master' of https://github.com/jfryman/puppet-nginx into dev
...
Conflicts:
manifests/config.pp
manifests/resource/location.pp
2013-09-08 16:50:16 +04:00
Omar Z
4da3e46207
added proxy_buffer_size with default value of 8k
2013-09-05 23:15:45 +01:00
Omar Z
53b4986b5d
make proxy_buffers configurable
2013-09-05 22:57:50 +01:00
Omar Tamer
fda2969c20
make client_max_body_size configurable
2013-09-04 17:37:18 +01:00
Todd Eddy
70207c9a65
Add logging customization to the main logs as well.
2013-08-07 21:27:13 -04:00
Lebedev Vadim
386026fda8
Adding option http_cfg_append to class nginx
...
Fix puppet-lint
2013-07-21 04:12:18 +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
Sander Hoentjen
4bcb0993c1
linting
2013-05-08 14:15:42 +02:00
Sander Hoentjen
57ee1ec1e7
make proxy_http_version configurable
2013-05-06 11:40:46 +02: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
James Fryman
91165742b6
fixing dangling commas at the end of class parameters
2012-10-04 15:17:31 -05:00
Guzmán Brasó
e9d984eaaf
Added purge support in confd.
...
Added confd_purge option to tell it to purge files non managed by pupet in conf.d, default is false.
Because vhost_autogen it's not actually managed by puppet but indirectly created by a puppet executed
command, it's added as ignore to avoid getting it removed.
Better formating for confd purge support
Better formating for confd purge support
2012-10-01 23:31:50 -03: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
Cody Herriges
3a27502ba9
Style compliance
...
This commit puts the majority of the code provided by this module into
compliance with the published style guide. Also updated Modulefile to
have more sane pre-release values.
2011-06-15 14:43:01 -07:00
James Fryman
7320a0ae56
Updated Documentation
2011-06-06 18:05:27 -05:00
James Fryman
ebd481d570
Added SuSE Support
2011-06-06 17:25:04 -05:00
James Fryman
fe3e409c9c
Added vhost support
2011-06-02 14:49:39 -05:00