The root problem in this question is the same as your other question that I just replied to.
If you post your complete (except for passwords/keys, which you can replace with something else) config files for GitLab and Nginx, I will help you fix them…