How to secure a Jitsi Meet installation compiled from source

#1

Dear all,

I compiled Jitsi Meet from source in order to make some minor tweaks to it. I’m now trying to deploy it to my webserver.

I noticed that the subfolders (e.g. node_modules) are accessible. Navigating to “https://meet.jitsi.mydomain/node_modules” will not redirect me to a chatroom or similar, but will show me the content of the node_modules folder instead.

Does anybody know how to prevent this from happening? Are there are any exemplar .htaccess files to achieve this?

Many thanks & best wishes,
Philipp

#2

If you build from the source there shouldn’t be any node_modules folder could u describe how u build from source?