diff options
| author | alex <alex@pdp7.net> | 2023-06-18 12:20:59 +0200 |
|---|---|---|
| committer | alex <alex@pdp7.net> | 2023-06-18 12:45:11 +0200 |
| commit | 24f1c247c9af82d3fe2de70418032937dfe5d1fb (patch) | |
| tree | b96ff31bebba5006a18ae0524644b960399196e3 /personal_infra/puppet/modules/proxmox | |
| parent | 83ea74461fb8d1e6d1afa4bde89022c0c5bf3a16 (diff) | |
Relax cert checks on reverse proxy
Diffstat (limited to 'personal_infra/puppet/modules/proxmox')
| -rw-r--r-- | personal_infra/puppet/modules/proxmox/manifests/proxy_host.pp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/personal_infra/puppet/modules/proxmox/manifests/proxy_host.pp b/personal_infra/puppet/modules/proxmox/manifests/proxy_host.pp index 9592572c..658d4f4e 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 </VirtualHost> - | EOT + | EOT , } ~> |
