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