Lucee 6 - Disable Admin via .CFConfig.json?

Is it possible to disable the Lucee Admin pages via .CFConfig.json? I have read that I can disable it with an environment variable LUCEE_ADMIN_ENABLED (see here), but I would rather do it in .CFConfig.json, since that’s my preferred way to define my Lucee environment.

OS: ubuntu-noble-24
Java Version: 21
Tomcat Version: 11
Lucee Version: 6.2.4.24

Uninstall the admin extension, which just creates a mapping to the admin.lar, without it the admin isn’t available.

1 Like