aboutsummaryrefslogtreecommitdiff
path: root/manifests/role
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/role')
-rw-r--r--manifests/role/proxy.pp8
1 files changed, 8 insertions, 0 deletions
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,