From: alex Date: Sun, 18 Jun 2023 10:20:59 +0000 (+0200) Subject: Relax cert checks on reverse proxy X-Git-Tag: 20240214-emacs~330 X-Git-Url: https://xn--ix-yja.es/gitweb/?a=commitdiff_plain;h=24f1c247c9af82d3fe2de70418032937dfe5d1fb;p=alex.git Relax cert checks on reverse proxy --- diff --git a/personal_infra/puppet/modules/proxmox/manifests/proxy_host.pp b/personal_infra/puppet/modules/proxmox/manifests/proxy_host.pp index 9592572..658d4f4 100644 --- a/personal_infra/puppet/modules/proxmox/manifests/proxy_host.pp +++ b/personal_infra/puppet/modules/proxmox/manifests/proxy_host.pp @@ -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 - | EOT + | EOT , } ~>