block file type rar gzip tar.gz .exe

hi all,
i need block on my server nextcloud upload few type of file es:

rar gzip tar.gz .exe but with regular expression not working, only one working fine, this

/^application/(zip|x-zip-compressed)$/i

the othe no,

have solution or support please

Hello,

Have you searched for this topic? There are several entries on it, e.g.

Files access control — Nextcloud latest Administration Manual latest documentation