We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58182e8 commit ae03c67Copy full SHA for ae03c67
install/deb/templates/web/nginx/caching.sh
@@ -13,10 +13,5 @@ if [ -e "$conf" ]; then
13
if [ -n "$(grep "=${domain}:" $conf)" ]; then
14
sed -i "/=${domain}:/d" $conf
15
fi
16
- if [ -z "$(grep "=${domain}:" $conf)" ]; then
17
- echo "$str" >> $conf
18
- fi
19
-else
20
21
22
-
+echo "$str" >> $conf
0 commit comments