gitlab: Ajax will send OPTIONS request which is not implemented in gitlab, ngix can reply
When getting a raw file in gitlab with ajax a first OPTIONS request is send, this simply fail because not implemented. To solve the problem, we allow nginx to reply to OPTIONS request and allow GET method.