freebsd-ports/www/gitlab/files/patch-lib_support_nginx_gitlab-ssl
Torsten Zuehlsdorff 7d02b1d89d www/gitlab: Fix options and update patches
The last update broke the options and removed
the needed gems from the Gemfile

Also update patches which weren't committed last time

Submitted by: Matthias Fechner <idefix@fechner.net>
Reported by:  remko
2017-12-01 11:03:43 +00:00

20 lines
686 B
Text

--- lib/support/nginx/gitlab-ssl.orig 2017-11-14 20:51:25 UTC
+++ lib/support/nginx/gitlab-ssl
@@ -21,7 +21,7 @@
## See installation.md#using-https for additional HTTPS configuration details.
upstream gitlab-workhorse {
- server unix:/home/git/gitlab/tmp/sockets/gitlab-workhorse.socket fail_timeout=0;
+ server unix:/usr/local/www/gitlab/tmp/sockets/gitlab-workhorse.socket fail_timeout=0;
}
map $http_upgrade $connection_upgrade_gitlab_ssl {
@@ -160,7 +160,7 @@ server {
error_page 502 /502.html;
error_page 503 /503.html;
location ~ ^/(404|422|500|502|503)\.html$ {
- root /home/git/gitlab/public;
+ root /usr/local/www/gitlab/public;
internal;
}
}