File tree Expand file tree Collapse file tree 8 files changed +16
-61
lines changed
frontend/js/app/nginx/certificates
test/cypress/integration/api Expand file tree Collapse file tree 8 files changed +16
-61
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ RUN apk add --no-cache ca-certificates nodejs-current yarn && \
30
30
yarn cache clean --all
31
31
32
32
33
- FROM zoeyvid/nginx-quic:106
33
+ FROM zoeyvid/nginx-quic:110
34
34
RUN apk add --no-cache ca-certificates tzdata \
35
35
nodejs-current \
36
36
openssl apache2-utils \
Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ so that the barrier for entry here is low.
70
70
71
71
## Soon
72
72
- disabling IPv4/IPv6 ([ 1] ( https://github.com/NginxProxyManager/nginx-proxy-manager/blob/develop/docker/rootfs/etc/s6-overlay/s6-rc.d/prepare/40-dynamic.sh ) / [ 2] ( https://github.com/NginxProxyManager/nginx-proxy-manager/blob/develop/docker/rootfs/etc/s6-overlay/s6-rc.d/prepare/50-ipv6.sh ) / nginx templates (nginx.js lines 200-300))
73
+ - custom IP-Bindings in nginx/backend to allow multiple instances in host network mode
73
74
- support changing the PUID/PGID (maybe)
74
75
- more
75
76
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -1152,7 +1152,10 @@ const internalCertificate = {
1152
1152
method : 'POST' ,
1153
1153
headers : {
1154
1154
'Content-Type' : 'application/x-www-form-urlencoded' ,
1155
- 'Content-Length' : Buffer . byteLength ( formBody )
1155
+ 'Content-Length' : Buffer . byteLength ( formBody ) ,
1156
+ 'Connection' : 'keep-alive' ,
1157
+ 'User-Agent' : 'Nginx Proxy Manager' ,
1158
+ 'Accept' : '*/*'
1156
1159
}
1157
1160
} ;
1158
1161
@@ -1163,12 +1166,16 @@ const internalCertificate = {
1163
1166
1164
1167
res . on ( 'data' , ( chunk ) => responseBody = responseBody + chunk ) ;
1165
1168
res . on ( 'end' , function ( ) {
1166
- const parsedBody = JSON . parse ( responseBody + '' ) ;
1167
- if ( res . statusCode !== 200 ) {
1169
+ try {
1170
+ const parsedBody = JSON . parse ( responseBody + '' ) ;
1171
+ resolve ( parsedBody ) ;
1172
+ }
1173
+ catch ( error ) {
1174
+ logger . warn ( 'Error' ) ;
1175
+ logger . warn ( `Status Code: ${ res . statusCode } ` ) ;
1168
1176
logger . warn ( `Failed to test HTTP challenge for ___domain ${ ___domain } ` , res ) ;
1169
1177
resolve ( undefined ) ;
1170
1178
}
1171
- resolve ( parsedBody ) ;
1172
1179
} ) ;
1173
1180
} ) ;
1174
1181
Original file line number Diff line number Diff line change 16
16
"gravatar" : " 1.8.2" ,
17
17
"jsonwebtoken" : " 9.0.0" ,
18
18
"knex" : " 2.4.2" ,
19
- "liquidjs" : " 10.7.0 " ,
19
+ "liquidjs" : " 10.7.1 " ,
20
20
"lodash" : " 4.17.21" ,
21
21
"moment" : " 2.29.4" ,
22
22
"mysql" : " 2.18.1" ,
30
30
"author" :
" Jamie Curnow <[email protected] >" ,
31
31
"license" : " MIT" ,
32
32
"devDependencies" : {
33
- "eslint" : " 8.37 .0" ,
33
+ "eslint" : " 8.38 .0" ,
34
34
"eslint-plugin-align-assignments" : " 1.1.2"
35
35
}
36
36
}
Original file line number Diff line number Diff line change 18
18
< input type= " text" name= " domain_names" class = " form-control" id= " input-domains" value= " <%- domain_names.join(',') %>" required>
19
19
< div class = " text-blue" >< i class = " fe fe-alert-triangle" >< / i> < %- i18n (' ssl' , ' hosts-warning' ) % >< / div>
20
20
< / div>
21
- <!--
22
21
< div class = " mb-3 test-domains-container" >
23
22
< button type= " button" class = " btn btn-secondary test-domains col-sm-12" >< %- i18n (' certificates' , ' test-reachability' ) % >< / button>
24
23
< div class = " text-secondary small" >
25
24
< i class = " fe fe-info" >< / i>
26
25
< %- i18n (' certificates' , ' reachability-info' ) % >
27
26
< / div>
28
27
< / div>
29
- -->
30
28
< / div>
31
29
< div class = " col-sm-12 col-md-12" >
32
30
< div class = " form-group" >
Original file line number Diff line number Diff line change 42
42
< % if (provider === ' letsencrypt' ) { % >
43
43
< a href= " #" class = " renew dropdown-item" >< i class = " dropdown-icon fe fe-refresh-cw" >< / i> < %- i18n (' certificates' , ' force-renew' ) % >< / a>
44
44
< a href= " #" class = " download dropdown-item" >< i class = " dropdown-icon fe fe-download" >< / i> < %- i18n (' certificates' , ' download' ) % >< / a>
45
- <!--
46
45
< % if (meta .dns_challenge === false ) { % >
47
46
< a href= " #" class = " test dropdown-item" >< i class = " dropdown-icon fe fe-globe" >< / i> < %- i18n (' certificates' , ' test-reachability' ) % >< / a>
48
47
< % } % >
49
- -->
50
48
< div class = " dropdown-divider" >< / div>
51
49
< % } % >
52
50
< a href= " #" class = " delete dropdown-item" >< i class = " dropdown-icon fe fe-trash-2" >< / i> < %- i18n (' str' , ' delete' ) % >< / a>
53
51
< / div>
54
52
< / div>
55
53
< / td>
56
- < % } %>
54
+ < % } %>
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments