diff options
author | tz <tz@FreeBSD.org> | 2016-07-04 21:53:28 +0800 |
---|---|---|
committer | tz <tz@FreeBSD.org> | 2016-07-04 21:53:28 +0800 |
commit | 097a108b0f05620c9f5d90970033db0e18d7bc10 (patch) | |
tree | 171bcc9fd2f2dc17ace61c6eb21502a5f563f4f3 /www | |
parent | 80e5826b0c0d877f60be5fa38591a48f2bf3d8e9 (diff) | |
download | freebsd-ports-gnome-097a108b0f05620c9f5d90970033db0e18d7bc10.tar.gz freebsd-ports-gnome-097a108b0f05620c9f5d90970033db0e18d7bc10.tar.zst freebsd-ports-gnome-097a108b0f05620c9f5d90970033db0e18d7bc10.zip |
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 <jlduran@gmail.com>
Approved by: pi (mentor)
Diffstat (limited to 'www')
-rw-r--r-- | www/gitlab/Makefile | 1 | ||||
-rw-r--r-- | www/gitlab/files/patch-lib_support_nginx_gitlab-ssl | 2 |
2 files changed, 2 insertions, 1 deletions
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; } } |