ry_files $uri $uri/index.html $uri.html @gitlab; }
# if a file, which is not found in the root folder is requested, # then the proxy pass the request to the upsteam (gitlab unicorn) location @gitlab { proxy_read_timeout 300; # proxy_connect_timeout 300; # proxy_redirect off;
proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://gitlab; } }
论文网
这样才能让
[plain] view plaincopyprint? 01.sudo -u git -H /home/git/gitlab-shell/bin/check sudo -u git -H /home/git/gitlab-shell/bin/check 和
[plain] view plaincopyprint? 01.sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production检查全部通过。
并且才能解决客户端git clone 不能访问的问题。 上一页 [1] [2] [3] [4]
|