diff options
Diffstat (limited to 'personal_infra/puppet/modules')
| -rw-r--r-- | personal_infra/puppet/modules/proxmox/manifests/proxy_host.pp | 5 |
1 files changed, 5 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 583fb5bc..b60caf4c 100644 --- a/personal_infra/puppet/modules/proxmox/manifests/proxy_host.pp +++ b/personal_infra/puppet/modules/proxmox/manifests/proxy_host.pp @@ -13,6 +13,11 @@ define proxmox::proxy_host (String[1] $target, Optional[String[1]] $overwrite_rh content => @("EOT") MDomain $title + <VirtualHost *:80> + ServerName $title + Redirect permanent / https://$title/ + </VirtualHost> + <VirtualHost *:443> ServerName $title SSLEngine on |
