From 4d9f42c944a6b7041e76bf8bc79fa33053c741f3 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 23 May 2015 11:33:00 -0300 Subject: Basic proxy certs --- manifests/role/proxy.pp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'manifests/role') 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, -- cgit v1.2.3