Ingmar Steen
77ed64d2fa
Stabilize key/value output by sorting hashes on key.
2013-05-09 14:51:31 +02:00
Sander Hoentjen
57ee1ec1e7
make proxy_http_version configurable
2013-05-06 11:40:46 +02:00
Sander Hoentjen
3630b74c72
return the newline between cfg lines
2013-05-06 11:38:34 +02:00
David Kitchen
6391c08543
Fixed ssl_stapling instruction
2013-04-25 10:54:18 +01:00
David Kitchen
9c93234c27
Added OCSP SSL stapling to reduce SSL handshake by 30% by sparing the revocation list if the certificate includes the intermediate layer to identify the trusted source
2013-04-25 10:48:04 +01:00
David Kitchen
5af32bc82a
Added back RC4 to mitigate BEAST attacks
2013-04-25 10:43:21 +01:00
David Kitchen
9cb898f40d
Added support for SPDY now that nginx 1.4 has arrived
2013-04-24 22:45:56 +01: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
e0843af76a
Add support for upstream_cfg_prepend
...
Makes things possible like specifying ip_hash and/or keepalive.
2013-04-22 10:03:09 +02: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
Ryan Fitzgerald
a5b7258f63
fixing vhost template
2013-01-22 18:28:06 +00:00
Hunter Haugen
e419006b74
Add try_files option
...
Nginx supports a option via http://wiki.nginx.org/HttpCoreModule#try_files and this adds this as a parameter
2012-11-08 14:15:28 -08:00
James Fryman
688948a267
Merge pull request #33 from juaningan/master
...
Support for SSL only server and SSL defined port
2012-10-24 05:09:43 -07:00
juaningan
b4ddaf22df
Added SSL port support and if SSL and listen port are the same just creates SSL vhost and location
2012-10-18 15:33:07 +02:00
Lee Boynton
13174e0a3a
Fix syntax error in ERB template
2012-10-18 11:12:43 +01:00
Guzmán Brasó
1e6f9dc93c
Added listen_options and ipv6_listen_options feature
...
* Allows to set exta option to listen directives like 'default'.
* This won't change on ipv6 listen template the option ipv6only=on.
2012-10-04 17:17:50 -03:00
Guzmán Brasó
49beb91993
James,
...
This is the best way I found to tackle the problem of custom directives, trying to
avoid common usage of module involve hacking the module/template to be able place
custom directives.
Right now support was added only for location context (default and custom ones),
it expects a hash with key value and it's supported on all current location types.
Added an example inside location.pp, usage it's pretty easy.
2012-10-02 23:35:56 -03:00
Guzmán Brasó
a9273d7fb8
Added support for stub_status location
...
If stub_status is provided as true a location will be created to provide
nginx status information from stub_status module.
2012-10-02 20:07:19 -03:00
Guzmán Brasó
73722c0fc6
Fixed merge
2012-10-01 20:10:26 -03:00
James Fryman
af4006cf66
Merge pull request #17 from lboynton/nginx-alias
...
Add alias support
2012-10-01 12:36:16 -07:00
James Fryman
c7b2446091
Merge pull request #19 from lboynton/server-name-array
...
Server name array
2012-10-01 12:35:17 -07: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
Guzmán Brasó
1ccca88dc2
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-09-28 14:50:16 -03:00
Lee Boynton
b7e7aa525d
Merge remote-tracking branch 'dhutty/master' into server-name-array
...
Conflicts:
manifests/resource/vhost.pp
templates/vhost/vhost_header.erb
2012-09-27 15:42:53 +01:00
Lee Boynton
1d50d9ea05
Add alias support
2012-09-24 17:01:40 +01:00
James Fryman
20fa345416
Merge pull request #13 from drdla/patch-3
...
This is part of patch-1!
2012-09-17 10:28:15 -07:00
Duncan Hutty
411419960b
add an array parameter to resource::vhost, server_name, that goes into the server_name nginx directive for that vhost
2012-09-10 17:15:32 -04:00
drdla
cc4b9615f7
Update templates/vhost/vhost_footer.erb
2012-09-01 18:52:55 +03:00
drdla
4667811324
Update templates/vhost/vhost_header.erb
2012-09-01 18:51:30 +03:00
Christian G. Warden
942c659fd0
Add per-location proxy read timeout parameter
...
Add a proxy_read_timeout parameter to set the read timeout setting
per-location. The parameter can also be passed when declaring a vhost,
in which case it will apply to the root location.
2012-01-30 11:14:57 -08:00
James Fryman
eedaa5159c
Updated Documentation
2011-06-06 17:38:40 -05:00
James Fryman
ebd481d570
Added SuSE Support
2011-06-06 17:25:04 -05:00
James Fryman
4558791e49
Updated Package Layout
2011-06-06 10:04:24 -05:00
James Fryman
fe3e409c9c
Added vhost support
2011-06-02 14:49:39 -05:00
James Fryman
3b036c95e5
20110524 Work Snapshot
2011-05-24 21:20:48 -05:00