aboutsummaryrefslogtreecommitdiffstats
path: root/www/nginx
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2007-06-14 18:32:32 +0800
committerosa <osa@FreeBSD.org>2007-06-14 18:32:32 +0800
commit885105ce81d1993abd68220d3615513b085c2569 (patch)
tree3f911c7af10cfbc2e6560a909752c7f889992669 /www/nginx
parentf2295e5c2b5245909d82b0bfdcee7642fb397a1d (diff)
downloadfreebsd-ports-gnome-885105ce81d1993abd68220d3615513b085c2569.tar.gz
freebsd-ports-gnome-885105ce81d1993abd68220d3615513b085c2569.tar.zst
freebsd-ports-gnome-885105ce81d1993abd68220d3615513b085c2569.zip
Change default location for 50x.html in configuration file.
Bump PORTREVISION. Requested by: Igor Sysoev <is at rambler-co dot ru>
Diffstat (limited to 'www/nginx')
-rw-r--r--www/nginx/Makefile1
-rw-r--r--www/nginx/files/patch-conf-nginx.conf13
2 files changed, 12 insertions, 2 deletions
diff --git a/www/nginx/Makefile b/www/nginx/Makefile
index 9e96f6c29307..722359ce12e2 100644
--- a/www/nginx/Makefile
+++ b/www/nginx/Makefile
@@ -7,6 +7,7 @@
PORTNAME= nginx
PORTVERSION= 0.5.25
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://sysoev.ru/nginx/
MASTER_SITES+= ${MASTER_SITE_LOCAL}
diff --git a/www/nginx/files/patch-conf-nginx.conf b/www/nginx/files/patch-conf-nginx.conf
index 5900493dac98..049fa52cf1e7 100644
--- a/www/nginx/files/patch-conf-nginx.conf
+++ b/www/nginx/files/patch-conf-nginx.conf
@@ -1,8 +1,8 @@
$FreeBSD$
---- conf/nginx.conf.orig Tue Nov 15 15:52:29 2005
-+++ conf/nginx.conf Tue Nov 15 15:53:32 2005
+--- conf/nginx.conf.orig Thu Jan 18 10:08:18 2007
++++ conf/nginx.conf Thu Jun 14 12:57:52 2007
@@ -15,7 +15,7 @@
@@ -30,3 +30,12 @@ $FreeBSD$
index index.html index.htm;
}
+@@ -51,7 +51,7 @@
+ #
+ error_page 500 502 503 504 /50x.html;
+ location = /50x.html {
+- root html;
++ root %%PREFIX%%/www/nginx-dist;
+ }
+
+ # proxy the PHP scripts to Apache listening on 127.0.0.1:80