aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/websites/manifests/forum_proxy.pp
blob: 1cb6c034ade891dd757d989c6dda59957780140e (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}/",
    }
}