aboutsummaryrefslogtreecommitdiff
path: root/personal_infra/puppet/modules/proxmox/manifests/proxy_host.pp
diff options
context:
space:
mode:
Diffstat (limited to 'personal_infra/puppet/modules/proxmox/manifests/proxy_host.pp')
-rw-r--r--personal_infra/puppet/modules/proxmox/manifests/proxy_host.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/personal_infra/puppet/modules/proxmox/manifests/proxy_host.pp b/personal_infra/puppet/modules/proxmox/manifests/proxy_host.pp
index 33b28de0..d1c6faf6 100644
--- a/personal_infra/puppet/modules/proxmox/manifests/proxy_host.pp
+++ b/personal_infra/puppet/modules/proxmox/manifests/proxy_host.pp
@@ -6,6 +6,12 @@ define proxmox::proxy_host (String[1] $target) {
<VirtualHost *:443>
ServerName $title
SSLEngine on
+
+ ProxyPass "/" "$target"
+ ProxyPassReverse "/" "$target"
+ ProxyPreservehost On
+ SSLProxyEngine on
+
</VirtualHost>
| EOT
,