Our features site is undergoing a refresh! Be sure to explore the revamped site and discover our latest product roadmap launching here on Monday, March 18th.

Application Manager: Allow user to customise PassengerStartupFile

Jimmy Crutchfield shared this idea 5 years ago
Open Discussion

As a systems administrator, I would like an option to modify the PassengerStartupFile directive via the WHM interface so that I can choose to allow Passenger to run node apps that use a custom entry point..


----------------------------------------------------------------------------

Some nodejs frameworks use an entrypoint other than 'app.js' (e.g. nuxt) which means that they can't easily be deployed and run via Application Manager.

I would like an option to modify the PassengerStartupFile directive via the UI, to allow Passenger to run node apps that use a custom entrypoint.

Currently this can be worked around by adding the directive to:

/etc/apache2/conf.d/userdata/std/2_4/<user>/<domain>/<appname.conf>
But this is not ideal since it requires root-level access.

Leave a Comment
 
Attach a file