File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 63
63
# Compile.
64
64
echo "Compiling OpenResty..." && \
65
65
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
67
70
sed-patch 's|#ifndef __SSE4_2__|#if 1|' configure && \
68
71
./configure -j$(nproc) \
69
72
--prefix=/var/lib/nginx \
@@ -267,7 +270,7 @@ RUN \
267
270
mkdir /opt/nginx-proxy-manager/config && \
268
271
ln -s /config/production.json /opt/nginx-proxy-manager/config/production.json && \
269
272
270
- # Make sure letencrypt certificates are stored in persistent volume.
273
+ # Make sure letsencrypt certificates are stored in persistent volume.
271
274
ln -s /config/letsencrypt /etc/letsencrypt && \
272
275
273
276
# Cleanup.
You can’t perform that action at this time.
0 commit comments