1
0
mirror of https://github.com/dokku/buildpack-nginx.git synced 2024-12-25 21:45:24 +00:00

Use full path of nginx executable

This commit is contained in:
Charles Pritchard 2015-03-27 16:34:46 -07:00
parent 56250a7453
commit 969446ca04

View File

@ -125,6 +125,6 @@ cat <<EOF >"$BUILD_DIR/start_nginx"
#!/usr/bin/env bash
rm -f /app/nginx/nginx.conf
erb /app/nginx/nginx.conf.erb > /app/nginx/nginx.conf
exec nginx -p /app/nginx -c /app/nginx/nginx.conf
exec /app/nginx/nginx -p /app/nginx -c /app/nginx/nginx.conf
EOF
chmod +x "$BUILD_DIR/start_nginx"