From 14b6d1025a2f97d22fb9ccb961e11b62df87b3c2 Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Thu, 17 Aug 2023 10:08:28 +0200 Subject: [PATCH] Add external address to match correct vhost --- master/hosts.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/master/hosts.conf b/master/hosts.conf index 33fb160..0fda99a 100644 --- a/master/hosts.conf +++ b/master/hosts.conf @@ -7,6 +7,9 @@ object Host "beholder" { address = "127.0.0.1" address6 = "::1" + vars.external_address = "49.13.65.97" + vars.external_address6 = "2a01:4f8:c17:7495::1" + vars.disks["/"] = { disk_partitions = "/" } @@ -16,12 +19,14 @@ object Host "beholder" { vars.http_vhosts["http redirect v4"] = { http_uri = "/" + http_address = vars.external_address http_vhost = "beholder.cacert.org" http_headerstring = "Location: https://beholder.cacert.org/" http_ipv4 = true } vars.http_vhosts["http redirect v6"] = { http_uri = "/" + http_address = vars.external_address6 http_vhost = "beholder.cacert.org" http_headerstring = "Location: https://beholder.cacert.org/" http_ipv6 = true