Articles of gitlab

为Nexus3使用Gitlab oauth服务

我有一个全新的Nexus Repository Manager版本3.6.1和一个Gitlab 10.0.3。 我想使用Gitlab作为validation提供者(我已经在为Jenkins&SonarQube做这件事)。 似乎可以使用Nexus 2的插件,而Nexus 2插件与Nexus 3不兼容。我看到了Nexus的LDAPauthentication,但这对我们来说并不适用。 那么,我错过了一个选项,一个插件机制? 感谢您对此事的任何想法!

在ELB后面的Docker中的Gitlab SSH shell

我想知道什么是以下案例的最佳解决scheme: 我使用Docker(Gitlab shell port是2222)在EC2实例上运行Gitlab CE,Gitlab在ELB后面。 我应该如何代理交易到Gitlab的sshshell? 通过ELB或以其他方式? 我不希望这个实例可以被外部世界访问。

在gitlab.rb文件中input所需的解释

在一个我正在工作的项目中,我得到了负责我们gitlab服务器的任务。 在这个现有的服务的gitlab.rb我find了以下行: nginx['custom_gitlab_server_config'] = "location ^~ /.well-known { root /var/www/letsencrypt; }" 任何人都可以解释我在那里发生了什么? 谢谢!

Gitlab和Nginx不加载gitlab

我刚刚在Ubuntu LTS 12.04上使用本指南安装了gitlab和nginx: http ://blog.punet.co.za/gitlab-installation-on-ubuntu-server-12-04/ 我昨天晚上在另一台服务器上安装了它,并且完全没有任何问题(testing运行需要多长时间才能完成)。 使用/etc/init.d重新启动gitlab或nginx时,我没有收到任何错误,并且我的错误日志是空的。 我唯一知道去的是虚拟主机configuration: upstream gitlab { server unix:/home/gitlab/gitlab/tmp/sockets/gitlab.sock$ } server { listen localhost:80; server_name gitlab.bluringdev.com; root /home/gitlab/gitlab/public; # individual nginx logs for this gitlab vhost access_log /var/log/nginx/gitlab_access.log; error_log /var/log/nginx/gitlab_error.log; location / { # serve static files from defined root folder;. # @gitlab is a named location for the upstream fallback$ […]

Apache:转发到另一个端口只为一个网站

我使用这个脚本https://github.com/gitlabhq/gitlabhq/issues/3626在我的Apache服务器上安装了GitLab,并且我configuration了Apache来将端口8080上的所有内容转发到端口3000,如下所示: <VirtualHost *80> ProxyPass / http://127.0.0.1:3000/ ProxyPassReverse / http://127.0.0.1:3000/ ProxyPreserveHost On DocumentRoot /var/www <Directory /> Options FollowSymLinks Allow Override </Directory> . . . </VirtualHost> 不过,我想转发一切只为我在这个networking服务器上托pipe的特定网站。 可以这样做吗? 我对这些东西很陌生,如果有什么不清楚的地方,请问。

gitlab apacheredirect循环

我正在尝试设置与Apache作为Web服务器的gitlab。 因此,我一直没有成功。 sidekiq和独angular兽开始很好,但是当我尝试访问根站点时,我被redirect到/ users / login并进入循环。 我使用Apache 2.2和gitlab 6.5。 我的Apacheconfiguration: #This configuration has been tested on GitLab 6.0.0 and GitLab 6.0.1 #Note this config assumes unicorn is listening on default port 8080. #Module dependencies # mod_rewrite # mod_proxy # mod_proxy_http <VirtualHost *:80> ServerName gitlab.martijn.osbournia.com ServerSignature Off ProxyPreserveHost On <Location /> Order allow,deny Allow from all […]

Rails应用程序(通过Apache代理)图像上传目录丢失

我正在为我的工作组运行通过Apache 2.2服务器进行反向代理的Gitlab 。 最近,我们想上传一些组徽标作为项目头像。 上传全部成功完成(通过SSH在目录列表中确认),但图像从未出现 – 而我们只是得到了404。 我们使用Apache的mod_proxy连接到一个独angular兽后端。

为gitlabconfiguration服务器

我有一台服务器,安装VestaCP(apache2是后端,nginx是前端)。 另外,我成功安装了ruby,gitlab shell和gitlab。 当我input sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production 一切都显示OK。 还有一个问题 – 为它configuration服务器。 我试图把这个复制到新的模板,但是apache2在它之后不会启动。 现在我有一个由vestacp和gitlab提供的干净的Web服务器安装,所以它不需要“修复”Apache2服务器。

如何在没有主机名的情况下使用gitlab

我在我的公司networking中使用gitlab。 我们没有设置任何内部DNS来允许我使用内部主机名 – 所有对服务器的访问仅通过IP。 我使用omnibus安装程序将gitlab安装在专用虚拟机上。 目前我不得不在我的客户机上设置主机文件来指向gitlab服务器的IP地址。 有没有办法使用机器的IP地址为gitlab? 我已经尝试在gitlab.yml中使用IP地址作为external_url来设置它,但是当我使用IP访问它时没有提供gitlab页面,而且我无法使用IP检出任何git回购站。 可能吗? 如果是这样,我需要看什么设置?

如何正确configurationApaches mod_proxy为郊区下的GitLab与其他郊区的组合

我有一台服务器,我想在其他服务旁边运行GitLab。 search了一段时间后,我发现我需要做一些mod_proxy技巧来让Apache2转发请求到GitLab。 但是现在,当我尝试访问服务器上不是/ git下的GitLab URL的任何URL时,我只是得到一个错误。 我什至不能访问apaches标准的index.html页面,我明显应该。 服务器在Ubuntu 14.04 LTS下运行。 gitlab的configuration文件是: #This configuration has been tested on GitLab 6.0.0 and GitLab 6.0.1 #Note this config assumes unicorn is listening on default port 8080. #Module dependencies # mod_rewrite # mod_proxy # mod_proxy_http <VirtualHost *:80> ServerName lmmweb ServerSignature Off ProxyPreserveHost On # Ensure that encoded slashes are not […]