Disabling directory listing in node js

  docker, node.js, security

I have an application running in node js within Docker and Kube, using docusaurus library. It currently allows directory listing. How can i disable directory listing for this application?

application is started using npm run serve

Source: Docker Questions

LEAVE A COMMENT