File tree Expand file tree Collapse file tree 4 files changed +6
-2
lines changed Expand file tree Collapse file tree 4 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -758,6 +758,7 @@ const internalCertificate = {
758
758
} ,
759
759
760
760
/**
761
+ * Request a certificate using the http challenge
761
762
* @param {Object } certificate the certificate row
762
763
* @returns {Promise }
763
764
*/
@@ -768,6 +769,7 @@ const internalCertificate = {
768
769
'--config "' + letsencryptConfig + '" ' +
769
770
'--cert-name "npm-' + certificate . id + '" ' +
770
771
'--agree-tos ' +
772
+ '--authenticator webroot ' +
771
773
'--email "' + certificate . meta . letsencrypt_email + '" ' +
772
774
'--preferred-challenges "dns,http" ' +
773
775
'--domains "' + certificate . domain_names . join ( ',' ) + '" ' +
Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ server {
16
16
error_log /data/logs/default-host_error.log warn;
17
17
{% include "_exploits.conf" %}
18
18
19
+ include conf.d/include/letsencrypt-acme-challenge.conf;
20
+
19
21
{%- if value == "404" %}
20
22
location / {
21
23
return 404;
Original file line number Diff line number Diff line change 1
1
text = True
2
2
non-interactive = True
3
- authenticator = webroot
4
3
webroot-path = /data/letsencrypt-acme-challenge
Original file line number Diff line number Diff line change @@ -9,9 +9,10 @@ server {
9
9
10
10
server_name localhost-nginx-proxy-manager;
11
11
access_log /data/logs/fallback_access.log standard;
12
- error_log /dev/null crit ;
12
+ error_log /data/logs/fallback_error.log warn ;
13
13
include conf.d/include/assets.conf;
14
14
include conf.d/include/block-exploits.conf;
15
+ include conf.d/include/letsencrypt-acme-challenge.conf;
15
16
16
17
location / {
17
18
index index.html;
You can’t perform that action at this time.
0 commit comments