ryandotsmith / nginx-buildpack

Run NGINX in front of your app server on Heroku
457 stars 248 forks source link

Handle the case when we don't want of an app server #62

Open RaitoBezarius opened 8 years ago

RaitoBezarius commented 8 years ago

Currently, this NGINX buildpack suppose that we always want to use an app server.

Here is another option to disable the app server so that you can run NGINX on Heroku just for static files (useful when you have a React frontend and want to serve the static assets built by Webpack after the build pass of Node.js buildpack).

What do you think? I can, of course, rebase if needed.

I edited two parts of the script which were better according to ShellCheck