Im using nextcloud in docker, and I dont know how do that
You didn't mention that you were using docker so I assumed you were using the nginx plugin. So, in that case, it is not specific to OMV but the docker you are using. If you are using the official nextcloud docker, maybe someone on their forum would know. Otherwise, maybe someone here knows.