diff options
Diffstat (limited to 'manifests/role/proxy.pp')
-rw-r--r-- | manifests/role/proxy.pp | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/manifests/role/proxy.pp b/manifests/role/proxy.pp index ef9c86c..9c6186d 100644 --- a/manifests/role/proxy.pp +++ b/manifests/role/proxy.pp @@ -1,5 +1,17 @@ class nodo::role::proxy inherits nodo::base::vserver { - include nginx + class { 'nginx': } + + ssl::cert { "$::domain": + notify => Service['nginx'], + } + + # For SNI + # TODO: generate automatically + ssl::cert { "example.org": + #generate => true, + verify => false, + notify => Service['nginx'], + } # Graph nginx munin::plugin { [ 'nginx_request', 'nginx_status' ]: |