Skip to content

Commit c47f6fd

Browse files
authored
Merge pull request #1294 from jc21/develop
v2.9.7
2 parents ba1e6fa + 9e188e4 commit c47f6fd

File tree

10 files changed

+43
-16
lines changed

10 files changed

+43
-16
lines changed

.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.9.6
1+
2.9.7

README.md

Lines changed: 13 additions & 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.6-green.svg?style=for-the-badge">
4+
<img src="https://img.shields.io/badge/version-2.9.7-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>
@@ -458,6 +458,18 @@ Special thanks to the following contributors:
458458
<br /><sub><b>Fuechslein</b></sub>
459459
</a>
460460
</td>
461+
<td align="center">
462+
<a href="https://github.com/nightah">
463+
<img src="https://avatars.githubusercontent.com/u/3339418?v=4" width="80" alt=""/>
464+
<br /><sub><b>Amir Zarrinkafsh</b></sub>
465+
</a>
466+
</td>
467+
<td align="center">
468+
<a href="https://github.com/gabbe">
469+
<img src="https://avatars.githubusercontent.com/u/156397?v=4" width="80" alt=""/>
470+
<br /><sub><b>gabbe</b></sub>
471+
</a>
472+
</td>
461473
</tr>
462474
</table>
463475
<!-- markdownlint-enable -->

backend/internal/certificate.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -758,6 +758,7 @@ const internalCertificate = {
758758
},
759759

760760
/**
761+
* Request a certificate using the http challenge
761762
* @param {Object} certificate the certificate row
762763
* @returns {Promise}
763764
*/
@@ -768,6 +769,7 @@ const internalCertificate = {
768769
'--config "' + letsencryptConfig + '" ' +
769770
'--cert-name "npm-' + certificate.id + '" ' +
770771
'--agree-tos ' +
772+
'--authenticator webroot ' +
771773
'--email "' + certificate.meta.letsencrypt_email + '" ' +
772774
'--preferred-challenges "dns,http" ' +
773775
'--domains "' + certificate.domain_names.join(',') + '" ' +

backend/templates/_location.conf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
location {{ path }} {
2+
set $upstream {{ forward_scheme }}://{{ forward_host }}:{{ forward_port }}{{ forward_path }};
23
proxy_set_header Host $host;
34
proxy_set_header X-Forwarded-Scheme $scheme;
45
proxy_set_header X-Forwarded-Proto $scheme;
56
proxy_set_header X-Forwarded-For $remote_addr;
67
proxy_set_header X-Real-IP $remote_addr;
7-
proxy_pass {{ forward_scheme }}://{{ forward_host }}:{{ forward_port }}{{ forward_path }};
8+
proxy_pass $upstream;
89

910
{% if access_list_id > 0 %}
1011
{% if access_list.items.length > 0 %}

backend/templates/default.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ server {
1616
error_log /data/logs/default-host_error.log warn;
1717
{% include "_exploits.conf" %}
1818

19+
include conf.d/include/letsencrypt-acme-challenge.conf;
20+
1921
{%- if value == "404" %}
2022
location / {
2123
return 404;

backend/yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3351,9 +3351,9 @@ table@^5.2.3:
33513351
string-width "^3.0.0"
33523352

33533353
tar@^4, tar@^4.4.2:
3354-
version "4.4.13"
3355-
resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.13.tgz#43b364bc52888d555298637b10d60790254ab525"
3356-
integrity sha512-w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA==
3354+
version "4.4.15"
3355+
resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.15.tgz#3caced4f39ebd46ddda4d6203d48493a919697f8"
3356+
integrity sha512-ItbufpujXkry7bHH9NpQyTXPbJ72iTlXgkBAYsAjDXk3Ds8t/3NfO5P4xZGy7u+sYuQUbimgzswX4uQIEeNVOA==
33573357
dependencies:
33583358
chownr "^1.1.1"
33593359
fs-minipass "^1.2.5"

docker/rootfs/etc/letsencrypt.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
text = True
22
non-interactive = True
3-
authenticator = webroot
43
webroot-path = /data/letsencrypt-acme-challenge
54
key-type = ecdsa
65
elliptic-curve = secp384r1

docker/rootfs/etc/nginx/conf.d/default.conf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ server {
99

1010
server_name localhost-nginx-proxy-manager;
1111
access_log /data/logs/fallback_access.log standard;
12-
error_log /dev/null crit;
12+
error_log /data/logs/fallback_error.log warn;
1313
include conf.d/include/assets.conf;
1414
include conf.d/include/block-exploits.conf;
15+
include conf.d/include/letsencrypt-acme-challenge.conf;
1516

1617
location / {
1718
index index.html;

docs/yarn.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6405,10 +6405,10 @@ minipass@^3.0.0, minipass@^3.1.1:
64056405
dependencies:
64066406
yallist "^4.0.0"
64076407

6408-
minizlib@^2.1.0:
6409-
version "2.1.0"
6410-
resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-2.1.0.tgz#fd52c645301ef09a63a2c209697c294c6ce02cf3"
6411-
integrity sha512-EzTZN/fjSvifSX0SlqUERCN39o6T40AMarPbv0MrarSFtIITCBh7bi+dU8nxGFHuqs9jdIAeoYoKuQAAASsPPA==
6408+
minizlib@^2.1.1:
6409+
version "2.1.2"
6410+
resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-2.1.2.tgz#e90d3466ba209b932451508a11ce3d3632145931"
6411+
integrity sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==
64126412
dependencies:
64136413
minipass "^3.0.0"
64146414
yallist "^4.0.0"
@@ -9156,14 +9156,14 @@ tapable@^1.0.0, tapable@^1.1.3:
91569156
integrity sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA==
91579157

91589158
tar@^6.0.2:
9159-
version "6.0.2"
9160-
resolved "https://registry.yarnpkg.com/tar/-/tar-6.0.2.tgz#5df17813468a6264ff14f766886c622b84ae2f39"
9161-
integrity sha512-Glo3jkRtPcvpDlAs/0+hozav78yoXKFr+c4wgw62NNMO3oo4AaJdCo21Uu7lcwr55h39W2XD1LMERc64wtbItg==
9159+
version "6.1.6"
9160+
resolved "https://registry.yarnpkg.com/tar/-/tar-6.1.6.tgz#c23d797b0a1efe5d479b1490805c5443f3560c5d"
9161+
integrity sha512-oaWyu5dQbHaYcyZCTfyPpC+VmI62/OM2RTUYavTk1MDr1cwW5Boi3baeYQKiZbY2uSQJGr+iMOzb/JFxLrft+g==
91629162
dependencies:
91639163
chownr "^2.0.0"
91649164
fs-minipass "^2.0.0"
91659165
minipass "^3.0.0"
9166-
minizlib "^2.1.0"
9166+
minizlib "^2.1.1"
91679167
mkdirp "^1.0.3"
91689168
yallist "^4.0.0"
91699169

global/certbot-dns-plugins.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,16 @@ dns_linode_version = [<blank>|3|4]`,
314314
full_plugin_name: 'dns-linode',
315315
},
316316
//####################################################//
317+
loopia: {
318+
display_name: 'Loopia',
319+
package_name: 'certbot-dns-loopia',
320+
package_version: '1.0.0',
321+
dependencies: '',
322+
credentials: `dns_loopia_user = user@loopiaapi
323+
dns_loopia_password = abcdef0123456789abcdef01234567abcdef0123`,
324+
full_plugin_name: 'dns-loopia',
325+
},
326+
//####################################################//
317327
luadns: {
318328
display_name: 'LuaDNS',
319329
package_name: 'certbot-dns-luadns',

0 commit comments

Comments
 (0)