Nox Primary JSON Configuration

The nox.json file is the primary configuration for where the Nox framework will look for key components of your application - such as views, layouts, and controllers.

A standard nox.json file will look as follows

{
  "static-directory": "/static",
  "layouts-directory": "/layouts",
  "views-directory": "/views",
  "controllers-directory": "/controllers",
  "mysql-models-directory": "/models",

  "404-route": "/404"
}
All paths are relative to the Nox app directory - not the server document root.

Available Configuration Keys

The following is an exhaustive list of configuration keys that can be placed in the nox.json file.