]> xn--ix-yja.es Git - alex.git/commitdiff
Relax cert checks on reverse proxy
authoralex <alex@pdp7.net>
Sun, 18 Jun 2023 10:20:59 +0000 (12:20 +0200)
committeralex <alex@pdp7.net>
Sun, 18 Jun 2023 10:45:11 +0000 (12:45 +0200)
personal_infra/puppet/modules/proxmox/manifests/proxy_host.pp

index 9592572c34a81683a2bad50d18f1eeaa9f964dc9..658d4f4ef5088c8b7abfa038fa5ecc89e9ecce32 100644 (file)
@@ -1,4 +1,4 @@
-define proxmox::proxy_host (String[1] $target, Optional[String[1]] $overwrite_rh_certs) {
+define proxmox::proxy_host (String[1] $target, Optional[String[1]] $overwrite_rh_certs = undef) {
   file {"/etc/apache2/sites-enabled/$title.conf":
     content => @("EOT")
       MDomain $title
@@ -11,8 +11,9 @@ define proxmox::proxy_host (String[1] $target, Optional[String[1]] $overwrite_rh
         ProxyPassReverse "/" "$target"
         ProxyPreservehost On
         SSLProxyEngine on
+        SSLProxyCheckPeerName off
       </VirtualHost>
-    | EOT
+      | EOT
     ,
   }
   ~>