As of version 4.x the config builder was added. The config builder adds default values to properties that are not implicitly specified. This change requires the user to import the configuration in the init_worker_by_lua_block and access_by_lua_block blocks inside nginx.conf:
Modify init_worker_by_lua_block
Lua
Modify access_by_lua_block
Lua
Modify header_filter_by_lua_block
Lua
To upgrade to the latest Enforcer version, re-install the Enforcer according to your OS.