From 177079699d7b81c81976a529ab1f3205abc1a17e Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 8 Oct 2023 14:22:26 +0200 Subject: [PATCH] Add automatic https redirection to Proxmox proxies --- .../puppet/modules/proxmox/manifests/proxy_host.pp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/personal_infra/puppet/modules/proxmox/manifests/proxy_host.pp b/personal_infra/puppet/modules/proxmox/manifests/proxy_host.pp index 583fb5b..b60caf4 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 + + ServerName $title + Redirect permanent / https://$title/ + + ServerName $title SSLEngine on -- 2.47.3