aws / opsworks-cookbooks

Chef Cookbooks for the AWS OpsWorks Service
Other
1.05k stars 1.23k forks source link

Monit config template for node js does not allow for overriding request path #398

Open jakesen opened 8 years ago

jakesen commented 8 years ago

As seen here: https://github.com/aws/opsworks-cookbooks/blob/master-chef-11.10/opsworks_nodejs/templates/default/node_web_app.monitrc.erb#L9

It sure would be nice if the request path could be changed through the OpsWorks app configuration (instead of needing to create a custom recipe). I am using the Node.js app layer to run the prerender node app, but the root path / returns a 404 so monit just keeps trying to restart it even though it's working fine.