aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/websites/manifests/forum_proxy.pp
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/websites/manifests/forum_proxy.pp')
-rw-r--r--deployment/websites/manifests/forum_proxy.pp13
1 files changed, 13 insertions, 0 deletions
diff --git a/deployment/websites/manifests/forum_proxy.pp b/deployment/websites/manifests/forum_proxy.pp
new file mode 100644
index 00000000..bd8f1fc1
--- /dev/null
+++ b/deployment/websites/manifests/forum_proxy.pp
@@ -0,0 +1,13 @@
+class websites::forum_proxy {
+ $web_domain = "forums.${::domain}"
+
+ apache::vhost::reverse_proxy { $web_domain:
+ url => "http://${web_domain}/",
+ }
+
+ apache::vhost::reverse_proxy { "ssl_${web_domain}":
+ vhost => $web_domain,
+ use_ssl => true,
+ url => "http://${web_domain}/",
+ }
+}