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 @@ -10,7 +10,7 @@ ARG DOCKER_IMAGE_VERSION=
10
10
# Define software versions.
11
11
ARG OPENRESTY_VERSION=1.21.4.1
12
12
ARG CROWDSEC_OPENRESTY_BOUNCER_VERSION=0.1.11
13
- ARG NGINX_PROXY_MANAGER_VERSION=2.9.21
13
+ ARG NGINX_PROXY_MANAGER_VERSION=2.9.22
14
14
ARG NGINX_HTTP_GEOIP2_MODULE_VERSION=3.3
15
15
ARG LIBMAXMINDDB_VERSION=1.5.0
16
16
ARG BCRYPT_TOOL_VERSION=1.1.2
Original file line number Diff line number Diff line change 97
97
- `CONTAINER_NAME` is the name of the running container.
98
98
- `USER_EMAIL` is the email of the address to reset the password.
99
99
changelog :
100
+ - version : 23.04.1
101
+ date : 2023-04-07
102
+ changes :
103
+ - ' Updated Nginx Proxy Manager to version 2.9.22.'
100
104
- version : 23.03.2
101
105
date : 2023-03-05
102
106
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-
73
73
sed -i " s/\" version\" : \" 0.0.0\" ,/\" version\" : \" ${NGINX_PROXY_MANAGER_VERSION} \" ,/" /tmp/nginx-proxy-manager/frontend/package.json
74
74
sed -i " s/\" version\" : \" 0.0.0\" ,/\" version\" : \" ${NGINX_PROXY_MANAGER_VERSION} \" ,/" /tmp/nginx-proxy-manager/backend/package.json
75
75
76
+ log " Patching Nginx Proxy Manager backend..."
77
+ patch -p1 -d /tmp/nginx-proxy-manager < " $SCRIPT_DIR " /pip-install.patch
78
+
76
79
cp -r /tmp/nginx-proxy-manager /app
77
80
78
81
log " 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