freebsd-ports/www/gitlab-ce/files/patch-lib_support_nginx_gitlab-ssl
Matthias Fechner e7aef8d975 Major upgrade to 13.6.0.
Changelog:
https://about.gitlab.com/releases/2020/11/22/gitlab-13-6-released/

Please note, this version requires ruby 2.7 so do not change the default version of ruby.
2020-11-28 15:09:27 +00:00

20 lines
795 B
Text

--- lib/support/nginx/gitlab-ssl.orig 2020-11-20 12:00:55 UTC
+++ lib/support/nginx/gitlab-ssl
@@ -23,7 +23,7 @@
upstream gitlab-workhorse {
# GitLab socket file,
# for Omnibus this would be: unix:/var/opt/gitlab/gitlab-workhorse/sockets/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_ssl {
@@ -164,7 +164,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;
}
}