path: root/sitemodules/roles
diff options
authorJan Dittberner <>2020-06-06 01:43:44 +0200
committerJan Dittberner <>2020-06-06 01:43:44 +0200
commit4009f3ee723da5914653dfbebe2cb3d21fe3f96f (patch)
treeb15aa5515bda1a94d640a0b1b5859136f279efde /sitemodules/roles
parentcb19b060bccb57b1e7f04b90a9a35536ec9716ca (diff)
Add new profile nginx_revproxy and use it for email
This commit adds a new profile nginx_revproxy to setup an nginx based reverse proxy. The commit contains configuration for such a proxy to forward traffic for to the http virtual host on the webstatic system. It also contains custom nginx configuration to enable the redirects from old URLs to the motion and selfservice systems. The profile includes x509cert_common to install the certificate and private key required for the virtual host. The new profile is assigned to email via the email role.
Diffstat (limited to 'sitemodules/roles')
1 files changed, 2 insertions, 1 deletions
diff --git a/sitemodules/roles/manifests/email.pp b/sitemodules/roles/manifests/email.pp
index b86844d..bf86b08 100644
--- a/sitemodules/roles/manifests/email.pp
+++ b/sitemodules/roles/manifests/email.pp
@@ -18,11 +18,12 @@
# Copyright
# ---------
-# Copyright 2019 Jan Dittberner
+# Copyright 2019, 2020 Jan Dittberner
class roles::email {
include profiles::base
include profiles::rsyslog
include profiles::icinga2_agent
include profiles::cacert_selfservice_api
+ include profiles::nginx_revproxy