summaryrefslogtreecommitdiff
path: root/www/gitlab-ce/files/patch-lib_support_nginx_gitlab
diff options
context:
space:
mode:
authorMatthias Fechner <mfechner@FreeBSD.org>2018-07-04 17:38:29 +0000
committerMatthias Fechner <mfechner@FreeBSD.org>2018-07-04 17:38:29 +0000
commit78a51eed7eb6cabe06abe26e70e662c45cefda16 (patch)
treeec8245d7db6c351fc3cf838ed25a9abdb0baf779 /www/gitlab-ce/files/patch-lib_support_nginx_gitlab
parentJust use the JSONXS variable rather than repeating it (diff)
Updated gitlab to 11.0.2.
For detailed list of changes please see here: https://about.gitlab.com/2018/06/22/gitlab-11-0-released/ Please make sure before you upgrade you read the entry in UPDATING. Reviewed by: swills (mentor) Approved by: swills (mentor) Differential Revision: https://reviews.freebsd.org/D16127
Diffstat (limited to 'www/gitlab-ce/files/patch-lib_support_nginx_gitlab')
-rw-r--r--www/gitlab-ce/files/patch-lib_support_nginx_gitlab20
1 files changed, 20 insertions, 0 deletions
diff --git a/www/gitlab-ce/files/patch-lib_support_nginx_gitlab b/www/gitlab-ce/files/patch-lib_support_nginx_gitlab
new file mode 100644
index 000000000000..577803428fd6
--- /dev/null
+++ b/www/gitlab-ce/files/patch-lib_support_nginx_gitlab
@@ -0,0 +1,20 @@
+--- lib/support/nginx/gitlab.orig 2018-02-22 10:46:29 UTC
++++ lib/support/nginx/gitlab
+@@ -19,7 +19,7 @@
+ upstream gitlab-workhorse {
+ # Gitlab socket file,
+ # for Omnibus this would be: unix:/var/opt/gitlab/gitlab-workhorse/socket
+- server unix:/home/git/gitlab/tmp/sockets/gitlab-workhorse.socket fail_timeout=0;
++ server unix:/usr/local/www/gitlab-ce/tmp/sockets/gitlab-workhorse.socket fail_timeout=0;
+ }
+
+ map $http_upgrade $connection_upgrade_gitlab {
+@@ -114,7 +114,7 @@ server {
+ location ~ ^/(404|422|500|502|503)\.html$ {
+ # Location to the Gitlab's public directory,
+ # for Omnibus this would be: /opt/gitlab/embedded/service/gitlab-rails/public.
+- root /home/git/gitlab/public;
++ root /usr/local/www/gitlab-ce/public;
+ internal;
+ }
+