I configured S3 as backend storage. When I delete documents from the system and trash, the document is not deleted from S3. I think this does not make sense because the storage on S3 will be bigger and bigger.
Please check https://doc.nuxeo.com/nxdoc/garbage-collecting-orphaned-binaries/
It works now. Thanks for your reply.