ERL in corp app for fortage
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

30 lines
1.0 KiB

  1. %% -*- mode: erlang -*-
  2. [
  3. {nitrogen_core, [
  4. % If a signkey is not specified, then Nitrogen uses the Erlang cookie.
  5. % {signkey, "SECRET"},
  6. % Default session timeout is 20 minutes.
  7. % {session_timeout, 20},
  8. % Specify a session cookie name. Uses "wf" by default.
  9. % {cookie_name, "wf"},
  10. % Setting the module_prefix to anything other than "" will change the
  11. % behaviour of the dynamic route handler (the default route handler) to
  12. % prefix page modules with it's value followed by an underscore. For
  13. % example, setting module_prefix to "web" will make your page module
  14. % for "/mypage" be called "web_mypage".
  15. % {module_prefix, ""}
  16. ]},
  17. %% SASL config
  18. {sasl, [
  19. {sasl_error_logger, {file, "log/sasl-error.log"}},
  20. {errlog_type, error},
  21. {error_logger_mf_dir, "log/sasl"}, % Log directory
  22. {error_logger_mf_maxbytes, 10485760}, % 10 MB max file size
  23. {error_logger_mf_maxfiles, 5} % 5 files max
  24. ]}
  25. ].