Is there a (recommended) way to determine within nginx.conf.erb
the app_type
that Phusion Passenger (in standalone mode) has autodetected, per its autodetection algorithm? In Passenger 5.1.8, we'd been relying on AppFinder.looks_like_app_directory?
, but it looks like that's been made private in 5.1.11.
We could simply look for any of ["config.ru", "passenger_wsgi.py", "app.js", ".meteor"]
ourselves but would prefer to rely on the app_type
already detected, particularly if it was manually specified with --app-type
at the command line.