26 lines
763 B
Bash
26 lines
763 B
Bash
#!/bin/sh
|
|
|
|
/bin/echo "### Nginx version :$NGINX_VERSION ###";
|
|
/bin/echo "### Maintainer: aprimediet@gmail.com ###";
|
|
/bin/echo "";
|
|
# /bin/echo "### Configuring nginx ###";
|
|
|
|
# /bin/mkdir -p $NGINX_RUN_DIR;
|
|
|
|
# /bin/sed -i "s|#NGINX_RUN_DIR#|$NGINX_RUN_DIR|" /app/conf/nginx.conf;
|
|
# /bin/sed -i "s|#NGINX_ROOT_DIR#|$NGINX_ROOT_DIR|" /app/conf/nginx.conf;
|
|
# /bin/sed -i "s|#NGINX_RUN_DIR#|$NGINX_RUN_DIR|" /app/conf/nginx.conf;
|
|
|
|
# if [[ "$ENABLE_STATIC_CACHE" == "true" ]]; then
|
|
# /bin/sed -i "s|#NGINX_ENABLE_STATIC_CACHE#||" /app/conf/nginx.conf;
|
|
# fi
|
|
|
|
# if [[ "$ENABLE_STUB" == "true" ]]; then
|
|
# /bin/sed -i "s|#NGINX_ENABLE_STUB#||" /app/conf/nginx.conf;
|
|
# fi
|
|
|
|
/bin/echo "";
|
|
/bin/echo "### Starting Nginx $NGINX_VERSION ###";
|
|
/bin/echo "";
|
|
|
|
/usr/sbin/nginx |