aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/websites/manifests/forum_proxy.pp
blob: bd8f1fc1e3a743f5258b8d3336c4600dcca543fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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}/",
    }
}