I was able to get git lfs working with a local test gitlab-ce virtual machine, but when attempting to get it working on our server (behind a reverse proxy) I am having issues. We are currently set up as follows;
Browser <--https--> RP <--http--> GL server. In the gitlab settings I have the external URL set to http, otherwise it will not work (we do not have the GL server serving https). The RP redirects all requests to https. When I attempt to push LFS files to the gitlab server I am getting a message stating
Git LFS: (1 of 1 files) 1.93 MB / 1.93 MB
Invalid status for PUT http://our-gl-domain-name.com/Ben/ben-test.git/gitlab-lfs/objects/02...927: 301
- am I correct in interpretting that git lfs and/or gitlab is struggling to deal with the redirect to https?
- If so, is there a way around this given our setup mentioned above with the reverse proxy?
- If not, am I correct that my only option is to get https working throughout? (
Browser <--https--> RP <--http*s*--> GL server)
Thank you for your help.