Gitlab 7.x to 8.x Troubles

Having trouble with pushing to your repo after upgrading from Gitlab 7.x to 8.x?

Does this look familiar?

error: Cannot access URL http://gitserver/user/somerepo.git/, return code 22  
fatal: git-http-push failed  
error: failed to push some refs to 'http://gitserver/user/somerepo.git/.git'  

Try changing your nginx config from

upstream gitlab {  
    server unix:/opt/gitlabhq-8.5/tmp/sockets/gitlab.socket fail_timeout=0;


upstream gitlab {  
    server unix:/opt/gitlabhq-8.5/tmp/sockets/workhorse.socket fail_timeout=0;

This is what worked for me. I can push to my git server again.