#!/bin/bash # Update OS apt-get update DEBIAN_FRONTEND=noninteractive apt-get -y upgrade # Install nginx apt-get -y install nginx # Start nginx. This will act the part of our healthcheck service nginx start