Only show warning if not using gunicorn
This commit is contained in:
parent
c0b43987dd
commit
c90de725b0
2
boot.sh
2
boot.sh
@ -6,7 +6,7 @@ NGINX_CONF_FILE=/opt/recipes/nginx/conf.d/Recipes.conf
|
||||
|
||||
echo "Checking configuration..."
|
||||
|
||||
if [ ! -f "$NGINX_CONF_FILE" ]; then
|
||||
if [ ! -f "$NGINX_CONF_FILE" ] && [ $GUNICORN_MEDIA -ne 1 ]; then
|
||||
echo -e "\n[WARNING]\nNginx configuration file could not be found at the default location!"
|
||||
echo -e "Path: ${NGINX_CONF_FILE}\n"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user