Skip to content

Commit

Permalink
fix: add adapter parameter to caddy (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruzickap authored Jul 21, 2024
1 parent e62ba5e commit 98f5ad2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ else
} > "${CADDYFILE}"

# Run caddy web server on the background
$sudo_cmd caddy start --config "${CADDYFILE}" &> "${CADDY_LOG}"
$sudo_cmd caddy start --config "${CADDYFILE}" --adapter caddyfile &> "${CADDY_LOG}"
sleep 1

# Run check
Expand Down
2 changes: 1 addition & 1 deletion tests/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export INPUT_PAGES_PATH="${PWD}"
echo -e "\n\n\e[32m!!! Test docker image\e[m"
docker build .. -t my-broken-link-checker-test

export INPUT_URL="https://debian.cz/develop/"
export INPUT_URL="https://debian.cz/info/"
export INPUT_CMD_PARAMS="--one-page-only --buffer-size=8192 --max-connections=10 --verbose --color=always"
docker run --rm -t -e INPUT_DEBUG -e INPUT_URL -e INPUT_CMD_PARAMS my-broken-link-checker-test

Expand Down

0 comments on commit 98f5ad2

Please sign in to comment.