diff options
| author | alex <alex@pdp7.net> | 2023-03-11 14:15:09 +0100 |
|---|---|---|
| committer | alex <alex@pdp7.net> | 2023-03-11 14:15:09 +0100 |
| commit | 231f0c46bd9c0d729c6d6d8485d2e52af9b83da0 (patch) | |
| tree | fce543d287f260914a3dc68487d3b86191edd834 /personal_infra/puppet/modules/proxmox/manifests/proxy_host.pp | |
| parent | 5e565f0374840245e5012fb57ba0af24de78e34b (diff) | |
Proxy fixes
Diffstat (limited to 'personal_infra/puppet/modules/proxmox/manifests/proxy_host.pp')
| -rw-r--r-- | personal_infra/puppet/modules/proxmox/manifests/proxy_host.pp | 6 |
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 , |
