#!/bin/bash
# Criticality: High
# Checks that the webserver configuration has no errors.
set -e

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