Skip to content

Commit 1cc2e4d

Browse files
committed
fix typo
1 parent 12386fb commit 1cc2e4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

root/etc/cont-init.d/50-config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,14 @@ cp /config/fail2ban/jail.local /etc/fail2ban/jail.local
8585
if ! grep -q 'resolver' /config/nginx/resolver.conf; then
8686
RESOLVER=$(awk 'BEGIN{ORS=" "} $1=="nameserver" {print $2}' /etc/resolv.conf)
8787
echo "Setting resolver to ${RESOLVER}"
88-
echo "# This file is auto-generated only on first start, based on the container's /etc/resolv.conf file. Feel free to modify it as you wish.\nresolver ${RESOLVER} valid=30s;" > /config/nginx/resolver.conf
88+
echo -e "# This file is auto-generated only on first start, based on the container's /etc/resolv.conf file. Feel free to modify it as you wish.\n\nresolver ${RESOLVER} valid=30s;" > /config/nginx/resolver.conf
8989
fi
9090

9191
# Set worker_processes
9292
if ! grep -q 'worker_processes' /config/nginx/worker_processes.conf; then
9393
WORKER_PROCESSES=$(nproc)
9494
echo "Setting worker_processes to ${WORKER_PROCESSES}"
95-
echo "# This file is auto-generated only on first start, based on the cpu cores detected. Feel free to change it to any other number or to auto to let nginx handle it automatically.\nworker_processes ${WORKER_PROCESSES};" > /config/nginx/worker_processes.conf
95+
echo -e "# This file is auto-generated only on first start, based on the cpu cores detected. Feel free to change it to any other number or to auto to let nginx handle it automatically.\n\nworker_processes ${WORKER_PROCESSES};" > /config/nginx/worker_processes.conf
9696
fi
9797

9898
# remove lua bits from nginx.conf if not done before

0 commit comments

Comments
 (0)