#!/bin/sh if [ ! -e /etc/nginx/conf.d/default.conf ]; then echo "Configuration file not found. Generating it..." cp /defaults/nginx-default.conf /etc/nginx/conf.d/default.conf else echo "Configuration file found. Not touching it..." fi nginx -g 'daemon off;'