Mimetypes Question

Good Day,

Looking for your kind assistance, to provide example how can I block specific file extension like mentioned in the documentation I tried but not working
https://docs.nextcloud.com/server/latest/admin_manual/configuration_mimetypes/index.html

like I want to block to not upload the .ghshs extension or specific extension name

Thank you