plugin.conf.example 906 B

123456789101112131415161718192021222324252627
  1. ##--------------------------------------------------------------------
  2. ## Plugin
  3. ##
  4. ## Manage EMQX plugins
  5. ##--------------------------------------------------------------------
  6. ## Note: This is an example of how to configure this feature
  7. ## you should copy and paste the below data into the emqx.conf for working
  8. plugin {
  9. ## Plugins declaration
  10. ## Note: The plugins are started in the defined order
  11. states = [
  12. {
  13. ## Name and version of this plugin
  14. ## Type: Formatted String
  15. ## Format: {name}-{version}
  16. ## Note: name and version should be what it is in the plugin application
  17. name_vsn = "my_acl-0.1.0",
  18. enable = true ## enable this plugin
  19. },
  20. {name_vsn = "my_rule-0.1.1", enable = false}
  21. ]
  22. ## The installation directory for the external plugins
  23. install_dir = "plugins"
  24. }