From: alex Date: Sun, 8 Oct 2023 12:22:26 +0000 (+0200) Subject: Add automatic https redirection to Proxmox proxies X-Git-Tag: 20240214-emacs~248 X-Git-Url: https://xn--ix-yja.es/gitweb/?a=commitdiff_plain;h=177079699d7b81c81976a529ab1f3205abc1a17e;p=alex.git Add automatic https redirection to Proxmox proxies --- 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