Browse Source

Fix the conditional operator

master
Luke Murphy 5 years ago
parent
commit
b5edf7b672
No known key found for this signature in database GPG Key ID: 5E2EF5A63E3718CC
  1. 2
      bibliotecha.sh

2
bibliotecha.sh

@ -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"
} }

Loading…
Cancel
Save