Skip to content

Commit 10a2b3b

Browse files
committed
Added comment and fixed typo.
1 parent fc6bed9 commit 10a2b3b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,10 @@ RUN \
6363
# Compile.
6464
echo "Compiling OpenResty..." && \
6565
cd openresty && \
66-
# Disable SSE4.2 since this is not supported by all CPUs...
66+
# Disable SSE4.2 since this is not supported by all CPUs... Without this,
67+
# Nginx fails to start with the 'Illegal instruction' error on CPU not
68+
# supporting SSE4.2.
69+
# https://github.com/openresty/openresty/issues/267
6770
sed-patch 's|#ifndef __SSE4_2__|#if 1|' configure && \
6871
./configure -j$(nproc) \
6972
--prefix=/var/lib/nginx \
@@ -267,7 +270,7 @@ RUN \
267270
mkdir /opt/nginx-proxy-manager/config && \
268271
ln -s /config/production.json /opt/nginx-proxy-manager/config/production.json && \
269272

270-
# Make sure letencrypt certificates are stored in persistent volume.
273+
# Make sure letsencrypt certificates are stored in persistent volume.
271274
ln -s /config/letsencrypt /etc/letsencrypt && \
272275

273276
# Cleanup.

0 commit comments

Comments
 (0)