Skip to content

Commit

Permalink
fix reset with https
Browse files Browse the repository at this point in the history
  • Loading branch information
mmguero committed Nov 30, 2022
1 parent 5671755 commit 153ddf1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/demo/reset_and_auto_populate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -326,11 +326,11 @@ if [[ -f "$MALCOLM_DOCKER_COMPOSE" ]] && \
for USER in \
$(cat nginx/htpasswd | cut -d: -f1) \
$(grep -q -P "NGINX_BASIC_AUTH\s*:\s*'no_authentication'" "$MALCOLM_FILE" && echo guest); do
docker-compose -f "$MALCOLM_FILE" exec -T arkime curl -sSL -XGET \
docker-compose -f "$MALCOLM_FILE" exec -T arkime curl -ksSL -XGET \
--header 'Content-type:application/json' \
--header "http_auth_http_user:$USER" \
--header "Authorization:" \
"http://localhost:8005" || true
"https://localhost:8005" || true
done
sleep 5
[[ -n $VERBOSE_FLAG ]] && echo "Setting cluster to read-only" >&2
Expand Down

0 comments on commit 153ddf1

Please sign in to comment.