From ae7a1de1b9ecc5043214e5a8ed95c6792a270cdc Mon Sep 17 00:00:00 2001 From: Torsten Zuehlsdorff Date: Mon, 4 Jul 2016 13:53:28 +0000 Subject: [PATCH] www/gitlab: fix typo in files/patch-lib_support_nginx_gitlab-ssl Fix wrong root directory for HTTP error codes 404, 422, 500, 502 and 503 point. Submitted by: Jose Luis Duran Approved by: pi (mentor) --- www/gitlab/Makefile | 1 + www/gitlab/files/patch-lib_support_nginx_gitlab-ssl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/www/gitlab/Makefile b/www/gitlab/Makefile index 7ffc1c772758..ec6d0c1b6ce3 100644 --- a/www/gitlab/Makefile +++ b/www/gitlab/Makefile @@ -4,6 +4,7 @@ PORTNAME= gitlab PORTVERSION= 8.8.5 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= www devel MAINTAINER= tz@FreeBSD.org diff --git a/www/gitlab/files/patch-lib_support_nginx_gitlab-ssl b/www/gitlab/files/patch-lib_support_nginx_gitlab-ssl index 304eefe52c01..b75cbee0f409 100644 --- a/www/gitlab/files/patch-lib_support_nginx_gitlab-ssl +++ b/www/gitlab/files/patch-lib_support_nginx_gitlab-ssl @@ -14,7 +14,7 @@ error_page 503 /503.html; location ~ ^/(404|422|500|502|503)\.html$ { - root /home/git/gitlab/public; -+ root /home/git/gitlab/public; ++ root /usr/local/www/gitlab/public; internal; } }