Skip to content

Commit d16502a

Browse files
committed
Updated Nginx Proxy Manager to version 2.9.20.
1 parent 4042605 commit d16502a

File tree

4 files changed

+2
-40
lines changed

4 files changed

+2
-40
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ARG DOCKER_IMAGE_VERSION=
99

1010
# Define software versions.
1111
ARG OPENRESTY_VERSION=1.19.9.1
12-
ARG NGINX_PROXY_MANAGER_VERSION=2.9.19
12+
ARG NGINX_PROXY_MANAGER_VERSION=2.9.20
1313
ARG NGINX_HTTP_GEOIP2_MODULE_VERSION=3.3
1414
ARG LIBMAXMINDDB_VERSION=1.5.0
1515
ARG BCRYPT_TOOL_VERSION=1.1.2

rootfs/etc/cont-init.d/55-nginx-proxy-manager.sh

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -55,22 +55,6 @@ if [ -f /config/database.sqlite ]; then
5555
echo 'DELETE FROM migrations_lock WHERE is_locked = 1;' | sqlite3 /config/database.sqlite
5656
fi
5757

58-
# Generate dummy self-signed certificate.
59-
if [ ! -f /config/nginx/dummycert.pem ] || [ ! -f /config/nginx/dummykey.pem ]
60-
then
61-
echo "Generating dummy SSL certificate..."
62-
env HOME=/tmp openssl req \
63-
-new \
64-
-newkey rsa:2048 \
65-
-days 3650 \
66-
-nodes \
67-
-x509 \
68-
-subj '/O=localhost/OU=localhost/CN=localhost' \
69-
-keyout /config/nginx/dummykey.pem \
70-
-out /config/nginx/dummycert.pem \
71-
> /dev/null 2>&1
72-
fi
73-
7458
# Generate the resolvers configuration file.
7559
if [ "$DISABLE_IPV6" == "true" ] || [ "$DISABLE_IPV6" == "on" ] || [ "$DISABLE_IPV6" == "1" ] || [ "$DISABLE_IPV6" == "yes" ];
7660
then

src/nginx-proxy-manager/build.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,6 @@ curl -# -L -f ${NGINX_PROXY_MANAGER_URL} | tar xz --strip 1 -C /tmp/nginx-proxy-
6969
# Compile
7070
#
7171

72-
log "Patching Nginx Proxy Manager..."
73-
patch -d /tmp/nginx-proxy-manager -p1 < "$SCRIPT_DIR"/case-insensitive-email.patch
74-
7572
# Set the NginxProxyManager version.
7673
sed -i "s/\"version\": \"0.0.0\",/\"version\": \"${NGINX_PROXY_MANAGER_VERSION}\",/" /tmp/nginx-proxy-manager/frontend/package.json
7774
sed -i "s/\"version\": \"0.0.0\",/\"version\": \"${NGINX_PROXY_MANAGER_VERSION}\",/" /tmp/nginx-proxy-manager/backend/package.json
@@ -100,7 +97,7 @@ log "Building Nginx Proxy Manager backend..."
10097
cd /app/backend
10198
# Use NPM instead of yarn because yarn doesn't seem to be able to install
10299
# for another achitecture. Note that NPM install should also use yarn.lock.
103-
npm install --omit=dev --target_platform=linux --target_arch=$ARCH
100+
npm install --legacy-peer-deps --omit=dev --omit=optional --target_platform=linux --target_arch=$ARCH
104101
node-prune
105102
rm -rf /app/backend/node_modules/sqlite3/build
106103
)

src/nginx-proxy-manager/case-insensitive-email.patch

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)