aboutsummaryrefslogtreecommitdiff
path: root/www/freenginx/files
diff options
context:
space:
mode:
Diffstat (limited to 'www/freenginx/files')
-rw-r--r--www/freenginx/files/nginx.in2
-rw-r--r--www/freenginx/files/patch-conf-nginx.conf4
2 files changed, 3 insertions, 3 deletions
diff --git a/www/freenginx/files/nginx.in b/www/freenginx/files/nginx.in
index 652468a97596..6f40057e70a2 100644
--- a/www/freenginx/files/nginx.in
+++ b/www/freenginx/files/nginx.in
@@ -44,7 +44,7 @@ command="%%PREFIX%%/sbin/nginx"
_pidprefix="%%NGINX_RUNDIR%%"
pidfile="${_pidprefix}/${name}.pid"
_tmpprefix="%%NGINX_TMPDIR%%"
-required_files=%%PREFIX%%/etc/nginx/nginx.conf
+required_files=%%PREFIX%%/etc/nginx/freenginx.conf
extra_commands="reload configtest upgrade gracefulstop"
[ -z "$nginx_enable" ] && nginx_enable="NO"
diff --git a/www/freenginx/files/patch-conf-nginx.conf b/www/freenginx/files/patch-conf-nginx.conf
index fb38c9c3d9cc..39cc18aa517e 100644
--- a/www/freenginx/files/patch-conf-nginx.conf
+++ b/www/freenginx/files/patch-conf-nginx.conf
@@ -32,7 +32,7 @@
location / {
- root html;
-+ root %%PREFIX%%/www/nginx;
++ root %%PREFIX%%/www/freenginx;
index index.html index.htm;
}
@@ -41,7 +41,7 @@
error_page 500 502 503 504 /50x.html;
location = /50x.html {
- root html;
-+ root %%PREFIX%%/www/nginx-dist;
++ root %%PREFIX%%/www/freenginx-dist;
}
# proxy the PHP scripts to Apache listening on 127.0.0.1:80