#!/bin/bash
# Check that the Nginx configuration files are valid.
set -e

if ( which nginx >/dev/null ); then
    nginx -t
fi
