From b5edf7b67260b43c51da5699c3eae9d9fbc15f38 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Thu, 4 Jul 2019 19:36:54 +0200 Subject: [PATCH] Fix the conditional operator --- bibliotecha.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bibliotecha.sh b/bibliotecha.sh index 2c8fade..75fa89d 100755 --- a/bibliotecha.sh +++ b/bibliotecha.sh @@ -281,7 +281,7 @@ function configure_webserver { { echo 'server.error-handler-404 = "/bibliotecha/index.html"' echo "" # shellcheck disable=SC2016 - echo '$HTTP["host"] = "bibliotecha.library" {' + echo '$HTTP["host"] == "bibliotecha.library" {' echo ' proxy.server = ("" => (("host" => "127.0.0.1", "port" => "8083")))' echo '}'; } > "$LIGHTTPD_CONFIG_PATH/bibliotecha.conf" }