How to add configure cookies or modify the cookies

I am trying to add particular cookie settings but I am not sure how to add those cookies as predefined values to the Gitlab. Can someone give me some kind of solution to it.

I need to add Httponly cookie to my Gitlab server, how can I add it ?