sp-containers/files/common/healthcheck/check-nginx.sh

5 lines
89 B
Bash

#!/bin/sh
set -eu
wget --quiet --tries=1 --spider 127.0.0.1:8090/healthcheck || exit 1;