Runway’s buildpacks allow you to customize the web server for your application. Nginx and Apache2 are supported.
For example, if you want to change the default document root for your application, you can configure it by setting the path using our CLI or a project.toml
:
runway config set BP_WEB_SERVER_ROOT=app/public
[ build ]
[[ build.env ]]
name="BP_WEB_SERVER_ROOT"
value="app/public"
Read on in this section for further tips: