Jitsi meet manual installation plugins path

I installed jitsi meet on my self host using manual installation guide. I found in /srv/jitsi-meet/resources/prosody-plugins a list of plugins. I need to know how prosody know the path of these plugins?
My prosody configuration file is:

VirtualHost "jitsi.karmac.com"
	authentication = "anonymous"
	ssl = {
		key = "/var/lib/prosody/jitsi.karmac.com.key";
		certificate = "/var/lib/prosody/jitsi.karmac.com.crt";
	}
	modules_enabled = {
		"bosh";
		"pubsub";
	}
	c2s_require_encryption = false
	admins = { "admin@jitsi.karmac.com" }
	
VirtualHost "auth.jitsi.karmac.com"
	authentication = "internal_hashed"
	ssl = {
		key = "/var/lib/prosody/auth.jitsi.karmac.com.key";
		certificate = "/var/lib/prosody/auth.jitsi.karmac.com.crt";
	}
	admins = { "focus@auth.jitsi.karmac.com" }
	
VirtualHost "hidden.jitsi.karmac.com"
	authentication = "internal_plain"
	ssl = {
		key = "/var/lib/prosody/jitsi.karmac.com.key";
		certificate = "/var/lib/prosody/jitsi.karmac.com.crt";
	}
	modules_enabled = {
		"bosh";
		"pubsub";
	}
	c2s_require_encryption = false

Component "conference.jitsi.karmac.com" "muc"
	restrict_room_creation = true
	admins = { "admin@jitsi.karmac.com" }

Component "jitsi-videobridge.jitsi.karmac.com"
	component_secret = "xxxxxx"

Component "focus.jitsi.karmac.com"
	component_secret = "xxxxxx"
	
Component "internal.auth.jitsi.karmac.com" "muc"
    storage = "memory"
    modules_enabled = { "ping"; }
    admins = { "focus@auth.jitsi.karmac.com", "jvb@auth.jitsi.karmac.com" }

Typically it’s plugin_paths = { "/usr/share/jitsi-meet/prosody-plugins/" }

From /etc/prosody/conf.avail/meet.example.com.cfg.lua

@corby I cloned jitsi from git manually, and in prosody configuration file I didn’t found plugin_paths

Prosody Plugins are here, in the source:

I know, but how prosody know the location ?

Your prosody config file, typically the first line, has plugin_paths that points to the right directory. Manually installation is tricky. I would fo the quick start to get things up and running, then clone from source.

Have you seen this?

Yes I read it, jitsi works fine for me, but prosody config file does not contain plugin_paths, so how prosody knows where plugins are found because there are multiple paths:

/usr/share/jitsi-meet/prosody-plugins/
and
/srv/jitsi-meet/resources/prosody-plugins

I want to add new module, where should I add and how can I enable it ?

1 - Add a line at the top of your cfg.lua that says:

plugin_paths = { "/usr/share/jitsi-meet/prosody-plugins/" }

2 - Add your new plugin in that same directory.


3 - Make sure your /etc/prosody/prosody.cfg.lua has a line at the bottom that says:

Include "conf.d/*.cfg.lua"

Hope this helps!