Skip to content

Commit 07884bc

Browse files
authored
Merge pull request #1076 from jc21/develop
v2.9.1
2 parents 485bae8 + 3607c30 commit 07884bc

File tree

6 files changed

+11
-9
lines changed

6 files changed

+11
-9
lines changed

.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.9.0
1+
2.9.1

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<p align="center">
22
<img src="https://nginxproxymanager.com/github.png">
33
<br><br>
4-
<img src="https://img.shields.io/badge/version-2.9.0-green.svg?style=for-the-badge">
4+
<img src="https://img.shields.io/badge/version-2.9.1-green.svg?style=for-the-badge">
55
<a href="https://hub.docker.com/repository/docker/jc21/nginx-proxy-manager">
66
<img src="https://img.shields.io/docker/stars/jc21/nginx-proxy-manager.svg?style=for-the-badge">
77
</a>

backend/internal/certificate.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const debug_mode = process.env.NODE_ENV !== 'production' || !!process.env.
1111
const le_staging = process.env.NODE_ENV !== 'production';
1212
const internalNginx = require('./nginx');
1313
const internalHost = require('./host');
14-
const certbot_command = '/usr/bin/certbot';
14+
const certbot_command = '/opt/certbot/bin/certbot';
1515
const le_config = '/etc/letsencrypt.ini';
1616
const dns_plugins = require('../global/certbot-dns-plugins');
1717

@@ -805,7 +805,7 @@ const internalCertificate = {
805805

806806
const credentials_loc = '/etc/letsencrypt/credentials/credentials-' + certificate.id;
807807
const credentials_cmd = 'mkdir -p /etc/letsencrypt/credentials 2> /dev/null; echo \'' + certificate.meta.dns_provider_credentials.replace('\'', '\\\'') + '\' > \'' + credentials_loc + '\' && chmod 600 \'' + credentials_loc + '\'';
808-
const prepare_cmd = 'pip3 install ' + dns_plugin.package_name + '==' + dns_plugin.package_version + ' ' + dns_plugin.dependencies;
808+
const prepare_cmd = 'pip install ' + dns_plugin.package_name + '==' + dns_plugin.package_version + ' ' + dns_plugin.dependencies;
809809

810810
// Whether the plugin has a --<name>-credentials argument
811811
const has_config_arg = certificate.meta.dns_provider !== 'route53' && certificate.meta.dns_provider !== 'duckdns';

backend/setup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ const setupCertbotPlugins = () => {
187187
});
188188

189189
if (plugins.length) {
190-
const install_cmd = 'pip3 install ' + plugins.join(' ');
190+
const install_cmd = 'pip install ' + plugins.join(' ');
191191
promises.push(utils.exec(install_cmd));
192192
}
193193

docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ ENV SUPPRESS_NO_CONFIG_WARNING=1 \
2020

2121
RUN echo "fs.file-max = 65535" > /etc/sysctl.conf \
2222
&& apt-get update \
23-
&& apt-get install -y --no-install-recommends certbot jq python3-pip \
23+
&& apt-get install -y --no-install-recommends jq \
2424
&& apt-get clean \
2525
&& rm -rf /var/lib/apt/lists/*
2626

@@ -41,7 +41,7 @@ RUN yarn install
4141
COPY docker/rootfs /
4242

4343
# Remove frontend service not required for prod, dev nginx config as well
44-
RUN rm -rf /etc/services.d/frontend RUN rm -f /etc/nginx/conf.d/dev.conf
44+
RUN rm -rf /etc/services.d/frontend /etc/nginx/conf.d/dev.conf
4545

4646
VOLUME [ "/data", "/etc/letsencrypt" ]
4747
ENTRYPOINT [ "/init" ]

docker/rootfs/root/.bashrc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,7 @@ alias h='cd ~;clear;'
1616

1717
echo -e -n '\E[1;34m'
1818
figlet -w 120 "NginxProxyManager"
19-
echo -e "\E[1;36mVersion \E[1;32m${NPM_BUILD_VERSION:-2.0.0-dev} (${NPM_BUILD_COMMIT:-dev}) ${NPM_BUILD_DATE:-0000-00-00}\E[1;36m, OpenResty \E[1;32m${OPENRESTY_VERSION:-unknown}\E[1;36m, Alpine \E[1;32m${VERSION_ID:-unknown}\E[1;36m, Kernel \E[1;32m$(uname -r)\E[0m"
20-
echo
19+
echo -e "\E[1;36mVersion \E[1;32m${NPM_BUILD_VERSION:-2.0.0-dev} (${NPM_BUILD_COMMIT:-dev}) ${NPM_BUILD_DATE:-0000-00-00}\E[1;36m, OpenResty \E[1;32m${OPENRESTY_VERSION:-unknown}\E[1;36m, ${ID:-debian} \E[1;32m${VERSION:-unknown}\E[1;36m, Certbot \E[1;32m$(certbot --version)\E[0m"
20+
echo -e -n '\E[1;34m'
21+
cat /built-for-arch
22+
echo -e '\E[0m'

0 commit comments

Comments
 (0)