Currently, the buildpack always install both apache and nginx, even though each app will use only one of them, increasing the slug size for nothing. It would be great if the unused one could be skipped during the install.
I see 2 alternatives:
- the nice one: automatically detect which server is used based on the commands used in the Procfile
- the manual one: allow configuring somewhere (maybe a setting in the
extra section in composer.json) which server should be installed (defaulting to install both if this is not configured)