From: Silvio Rhatto Date: Sat, 23 May 2015 14:33:00 +0000 (-0300) Subject: Basic proxy certs X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=4d9f42c944a6b7041e76bf8bc79fa33053c741f3;p=puppet-nodo.git Basic proxy certs --- diff --git a/manifests/role/proxy.pp b/manifests/role/proxy.pp index 7e23412..bcff3dc 100644 --- a/manifests/role/proxy.pp +++ b/manifests/role/proxy.pp @@ -1,6 +1,14 @@ class nodo::role::proxy inherits nodo::base::vserver { class { 'nginx': } + nginx::cert { "$::domain": } + + # For SNI + # TODO: generate automatically + ssl::cert { "example.org": + notify => Service['nginx'], + } + # Graph nginx munin::plugin { [ 'nginx_request', 'nginx_status' ]: ensure => present,