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