Fix the conditional operator

This commit is contained in:
Luke Murphy 2019-07-04 19:36:54 +02:00
parent 7b9dced45b
commit b5edf7b672
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -281,7 +281,7 @@ function configure_webserver {
{ echo 'server.error-handler-404 = "/bibliotecha/index.html"' { echo 'server.error-handler-404 = "/bibliotecha/index.html"'
echo "" echo ""
# shellcheck disable=SC2016 # shellcheck disable=SC2016
echo '$HTTP["host"] = "bibliotecha.library" {' echo '$HTTP["host"] == "bibliotecha.library" {'
echo ' proxy.server = ("" => (("host" => "127.0.0.1", "port" => "8083")))' echo ' proxy.server = ("" => (("host" => "127.0.0.1", "port" => "8083")))'
echo '}'; } > "$LIGHTTPD_CONFIG_PATH/bibliotecha.conf" echo '}'; } > "$LIGHTTPD_CONFIG_PATH/bibliotecha.conf"
} }