How to close redmine issue via gitlab commit



I have setup redmine integration in gitlab CE as mentioned in the []

I have searched all the docs and blogs but coudn’t get through. I can only replicate the issue id in commit tag which is redirecting to redmine issue details. I want to close the redmine issue using gitlab commit Ex: git commit “close #10”, should close redmine issue #10.