You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if [ "${INDEX_HTML_CONTENT}" ]; then echo $INDEX_HTML_CONTENT > /usr/share/nginx/html/index.html; \
echo "<style> body {background-color: lightblue;} </style>" >> /usr/share/nginx/html/index.html; \
fi
if [ "${HTTP_PORT}" ]; then sed -i "s/listen 80/listen ${HTTP_PORT}/g" /etc/nginx/conf.d/default.conf; fi
# the following is required in some rare circumstances where a volume is mounted at /var/log (ref: https://github.com/knative/serving/issues/3809)