]> xn--ix-yja.es Git - alex.git/commitdiff
Fix, SSLEngine must always be on!
authoralex <alex@pdp7.net>
Tue, 29 Aug 2023 21:31:56 +0000 (23:31 +0200)
committeralex <alex@pdp7.net>
Tue, 29 Aug 2023 21:31:56 +0000 (23:31 +0200)
personal_infra/puppet/modules/proxmox/manifests/proxy_host.pp

index ab0cd69a635233d0a99e09997a983affcb920a9f..583fb5bc71cead1079db24b96e3eeba272c4fbb2 100644 (file)
@@ -1,7 +1,6 @@
 define proxmox::proxy_host (String[1] $target, Optional[String[1]] $overwrite_rh_certs = undef) {
   if $target =~ /^https:/ {
     $ssl_fragment = @("EOT")
-      SSLEngine on
       SSLProxyEngine on
       SSLProxyCheckPeerName off
     | EOT
@@ -16,6 +15,7 @@ define proxmox::proxy_host (String[1] $target, Optional[String[1]] $overwrite_rh
 
       <VirtualHost *:443>
         ServerName $title
+        SSLEngine on
 
         ProxyPass "/" "$target"
         ProxyPassReverse "/" "$target"