Skip to content

Commit 9074cf2

Browse files
committed
I like to copy pasta
1 parent 479ee5e commit 9074cf2

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
@@ -82,9 +82,9 @@ cp /config/fail2ban/jail.local /etc/fail2ban/jail.local
8282
cp /defaults/502.html /config/www/502.html
8383

8484
# remove lua bits from nginx.conf if not done before
85-
if ! grep -q '#Removed lua' nginx.conf; then
85+
if ! grep -q '#Removed lua' /config/nginx/nginx.conf; then
8686
echo "Removing lua specific info from nginx.conf"
87-
sed -i 's|\tlua_load_resty_core off;|\t#Removed lua. Do not remove this comment|g' nginx.conf
87+
sed -i 's|\tlua_load_resty_core off;|\t#Removed lua. Do not remove this comment|g' /config/nginx/nginx.conf
8888
fi
8989

9090
# copy pre-generated dhparams or generate if needed

0 commit comments

Comments
 (0)