File tree Expand file tree Collapse file tree 4 files changed +34
-1
lines changed Expand file tree Collapse file tree 4 files changed +34
-1
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ ARG DOCKER_IMAGE_VERSION=
99
1010# Define software versions.
1111ARG OPENRESTY_VERSION=1.19.9.1
12- ARG NGINX_PROXY_MANAGER_VERSION=2.9.21
12+ ARG NGINX_PROXY_MANAGER_VERSION=2.9.22
1313ARG NGINX_HTTP_GEOIP2_MODULE_VERSION=3.3
1414ARG LIBMAXMINDDB_VERSION=1.5.0
1515ARG BCRYPT_TOOL_VERSION=1.1.2
Original file line number Diff line number Diff line change 9797 - `CONTAINER_NAME` is the name of the running container.
9898 - `USER_EMAIL` is the email of the address to reset the password.
9999 changelog :
100+ - version : 23.04.1
101+ date : 2023-04-07
102+ changes :
103+ - ' Updated Nginx Proxy Manager to version 2.9.22.'
100104 - version : 23.03.2
101105 date : 2023-03-05
102106 changes :
Original file line number Diff line number Diff line change @@ -73,6 +73,9 @@ curl -# -L -f ${NGINX_PROXY_MANAGER_URL} | tar xz --strip 1 -C /tmp/nginx-proxy-
7373sed -i " s/\" version\" : \" 0.0.0\" ,/\" version\" : \" ${NGINX_PROXY_MANAGER_VERSION} \" ,/" /tmp/nginx-proxy-manager/frontend/package.json
7474sed -i " s/\" version\" : \" 0.0.0\" ,/\" version\" : \" ${NGINX_PROXY_MANAGER_VERSION} \" ,/" /tmp/nginx-proxy-manager/backend/package.json
7575
76+ log " Patching Nginx Proxy Manager backend..."
77+ patch -p1 -d /tmp/nginx-proxy-manager < " $SCRIPT_DIR " /pip-install.patch
78+
7679cp -r /tmp/nginx-proxy-manager /app
7780
7881log " Building Nginx Proxy Manager frontend..."
Original file line number Diff line number Diff line change 1+ diff --git a/backend/internal/certificate.js b/backend/internal/certificate.js
2+ index da104a2..730d826 100644
3+ --- a/backend/internal/certificate.js
4+ +++ b/backend/internal/certificate.js
5+ @@ -871,7 +871,7 @@ const internalCertificate = {
6+ const escapedCredentials = certificate.meta.dns_provider_credentials.replaceAll('\'', '\\\'').replaceAll('\\', '\\\\');
7+ const credentialsCmd = 'mkdir -p /etc/letsencrypt/credentials 2> /dev/null; echo \'' + escapedCredentials + '\' > \'' + credentialsLocation + '\' && chmod 600 \'' + credentialsLocation + '\'';
8+ // we call `. /opt/certbot/bin/activate` (`.` is alternative to `source` in dash) to access certbot venv
9+ - let prepareCmd = '. /opt/certbot/bin/activate && pip install ' + dns_plugin.package_name + (dns_plugin.version_requirement || '') + ' ' + dns_plugin.dependencies + ' && deactivate';
10+ + let prepareCmd = 'pip install ' + dns_plugin.package_name + (dns_plugin.version_requirement || '') + ' ' + dns_plugin.dependencies;
11+
12+ // Whether the plugin has a --<name>-credentials argument
13+ const hasConfigArg = certificate.meta.dns_provider !== 'route53';
14+ diff --git a/backend/setup.js b/backend/setup.js
15+ index a4b51c9..6d3d3e3 100644
16+ --- a/backend/setup.js
17+ +++ b/backend/setup.js
18+ @@ -189,7 +189,7 @@ const setupCertbotPlugins = () => {
19+ });
20+
21+ if (plugins.length) {
22+ - const install_cmd = '. /opt/certbot/bin/activate && pip install ' + plugins.join(' ') + ' && deactivate';
23+ + const install_cmd = 'pip install ' + plugins.join(' ');
24+ promises.push(utils.exec(install_cmd));
25+ }
26+
You can’t perform that action at this time.
0 commit comments