mirror of
https://git.freebsd.org/ports.git
synced 2025-06-24 14:10:30 -04:00
Reviewed by: swills (mentor) Approved by: swills (mentor) Differential Revision: https://reviews.freebsd.org/D16266
20 lines
775 B
Text
20 lines
775 B
Text
--- 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:%%PREFIX%%/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 %%PREFIX%%/www/gitlab-ce/public;
|
|
internal;
|
|
}
|
|
|