Change default location for 50x.html in configuration file.

Bump PORTREVISION.

Requested by:	Igor Sysoev <is at rambler-co dot ru>
This commit is contained in:
Sergey A. Osokin 2007-06-14 10:32:32 +00:00
parent b22f2812d1
commit 5d49b92e23
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=193468
4 changed files with 24 additions and 4 deletions

View file

@ -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}

View file

@ -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

View file

@ -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}

View file

@ -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