1

I'm getting an error when my dyno attempts to start nginx, on both heroku-16 and heroku-18:

bin/start-nginx: No such file or directory

I used the heroku-buildpack-multi buildpack.

.buildpacks file:

"https://github.com/heroku/heroku-buildpack-nginx.git" "https://github.com/heroku/heroku-buildpack-nodejs.git"

Procfile:

web: bin/start-nginx npm start

Is there something I'm missing?

1 Answer 1

0

It seems that the latest versions of Heroku CLI support multiple buildpacks natively, and the .buildpacks file is not used, so all I had to do was use the command (from here): heroku buildpacks:add --index 1 https://github.com/heroku/heroku-buildpack-nginx.git to add the nginx buildpack.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.