summaryrefslogtreecommitdiff
path: root/www/gitlab-ce/files/patch-lib_support_nginx_gitlab
diff options
context:
space:
mode:
authorMatthias Fechner <mfechner@FreeBSD.org>2018-07-18 21:54:56 +0000
committerMatthias Fechner <mfechner@FreeBSD.org>2018-07-18 21:54:56 +0000
commit31fbdec56c578549d8d065747a523d7b4db5335f (patch)
tree19dd97bc93e218d61e9f3ab35148eeae22a5f9fe /www/gitlab-ce/files/patch-lib_support_nginx_gitlab
parentMade it possible to use another PREFIX for gitlab-ce. (diff)
Made it possible to use another PREFIX for gitlab-ce.
Reviewed by: swills (mentor) Approved by: swills (mentor) Differential Revision: https://reviews.freebsd.org/D16266
Diffstat (limited to 'www/gitlab-ce/files/patch-lib_support_nginx_gitlab')
-rw-r--r--www/gitlab-ce/files/patch-lib_support_nginx_gitlab4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/gitlab-ce/files/patch-lib_support_nginx_gitlab b/www/gitlab-ce/files/patch-lib_support_nginx_gitlab
index 577803428fd6..01b5765dc550 100644
--- a/www/gitlab-ce/files/patch-lib_support_nginx_gitlab
+++ b/www/gitlab-ce/files/patch-lib_support_nginx_gitlab
@@ -5,7 +5,7 @@
# 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;
++ server unix:%%PREFIX%%/www/gitlab-ce/tmp/sockets/gitlab-workhorse.socket fail_timeout=0;
}
map $http_upgrade $connection_upgrade_gitlab {
@@ -14,7 +14,7 @@
# 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;
++ root %%PREFIX%%/www/gitlab-ce/public;
internal;
}