summaryrefslogtreecommitdiff
path: root/www/nginx
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2007-06-14 10:32:32 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2007-06-14 10:32:32 +0000
commit5d49b92e2390c8873d27a081b1276c5a04b27fdc (patch)
tree1b95812d2293ff88883d45d55c257862e8215499 /www/nginx
parent- Fix the build with recent GCC [1] (diff)
Change default location for 50x.html in configuration file.
Bump PORTREVISION. Requested by: Igor Sysoev <is at rambler-co dot ru>
Notes
Notes: svn path=/head/; revision=193468
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