I added an external storage to NextCloud (self-hosted). The external storage is Amazon S3 and compliant which is using MinIO and be configured reverse proxy follow MinIO off