If I wanted to think about using CommandBox for pr...
# box-products
d
If I wanted to think about using CommandBox for production as well as test and dev, what's the recommended way to spin up a locked down ACF server on CommandBox?
b
@Dave Merrill Generally speaking • use the
production
profile • Use CFConfig to lock down the CF admin settings
That will get you most of the way there
d
Thanks. Is there a documented or out of the box CFConfig setup to lock down CF Admin?
b
Here's one I posted a while back.
You can customize as you see fit
šŸ‘ 1
d
This is awesome! Don't know why I didn't know about it. The reporting aspect is especially welcome.
What is the applicationMode setting? I don't see anything that's obviously that in ACF 2018 or 2021 admin. The admin search function doesn't find it, and none of the hits on "mode" seem like it.
r
That's the setting on how CF searches for Applcation.cfc. It's called Application.cfc/Application.cfm lookup order.
āœ… 2
b
@Dave Merrill You can always check the docs in CFConfig's
BaseConfig
class which defines all the possible settings https://github.com/Ortus-Solutions/cfconfig/blob/master/models/BaseConfig.cfc#L139-L146
šŸ‘ 1