config.lua 391 B

12345678910111213141516171819202122232425
  1. local _M = {}
  2. _M.sysname = 'WOLF-RBAC'
  3. _M.agentName = 'wolf-agent'
  4. --[[ ignore list
  5. format:
  6. ignore_list = {
  7. equals={"/test", "/login"},
  8. suffix={".doc", ".jpg"},
  9. prefix={"/demo", "/error"},
  10. }
  11. ]]
  12. _M.ignore_list = {
  13. equals={"/favicon.ico"},
  14. suffix={".js", ".css", ".ico"},
  15. prefix={}
  16. }
  17. -- Cookie config
  18. _M.cookie_config = {key="x-rbac-token", path="/", expires=3600*24}
  19. return _M