aboutsummaryrefslogtreecommitdiffstats
path: root/main/alpine-conf/0001-setup-acf-use-new-location-for-mini_httpd.conf.patch
blob: 4481c3270af37718c4f87feca1a254cbc30bb0cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
From 4b22b926721293e23fa645c742f5f274a601de9f Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Wed, 2 May 2012 08:49:56 +0000
Subject: [PATCH] setup-acf: use new location for mini_httpd.conf

---
 setup-acf.in |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/setup-acf.in b/setup-acf.in
index 9e1489f..91113c5 100644
--- a/setup-acf.in
+++ b/setup-acf.in
@@ -87,7 +87,7 @@ EOF
 	mv $CRTFILE $PEMFILE
 fi
 
-cat >/etc/mini_httpd.conf <<EOF
+cat >/etc/mini_httpd/mini_httpd.conf <<EOF
 nochroot
 dir=/var/www/localhost/htdocs
 user=nobody
@@ -97,7 +97,7 @@ port=443
 ssl
 EOF
 if [ -n "$address" ]; then
-	echo "host=$address" >> /etc/mini_httpd.conf
+	echo "host=$address" >> /etc/mini_httpd/mini_httpd.conf
 fi
 
 rc-update -q add mini_httpd default
-- 
1.7.10