If the intent is to have Nexus serve the files as a website then you’d need to upload them individually into a raw repository with the expected directory structure.
Note however we do apply HTML CSP headers to content served which may affect the site’s functionality.