You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

10 lines
271 B

#!/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;