1
0
mirror of https://github.com/dokku/buildpack-nginx.git synced 2024-11-05 11:48:42 +00:00

Merge pull request #4 from Downchuck/master

Use full path of nginx executable
This commit is contained in:
Florian Heinemann 2015-07-27 14:39:23 -04:00
commit 9da922ee28

View File

@ -134,6 +134,6 @@ cat <<EOF >"$BUILD_DIR/start_nginx"
#!/usr/bin/env bash #!/usr/bin/env bash
rm -f /app/nginx/nginx.conf rm -f /app/nginx/nginx.conf
erb /app/nginx/nginx.conf.erb > /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 EOF
chmod +x "$BUILD_DIR/start_nginx" chmod +x "$BUILD_DIR/start_nginx"