Skip to content

Commit 83ef426

Browse files
committed
Increased custom ssl file size limits
1 parent 8b8f5fa commit 83ef426

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Nginx Proxy Manager
44

5-
![Version](https://img.shields.io/badge/version-2.0.8-green.svg?style=for-the-badge)
5+
![Version](https://img.shields.io/badge/version-2.0.9-green.svg?style=for-the-badge)
66
![Stars](https://img.shields.io/docker/stars/jc21/nginx-proxy-manager.svg?style=for-the-badge)
77
![Pulls](https://img.shields.io/docker/pulls/jc21/nginx-proxy-manager.svg?style=for-the-badge)
88

doc/DOCKERHUB.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Nginx Proxy Manager
44

5-
![Version](https://img.shields.io/badge/version-2.0.8-green.svg?style=for-the-badge)
5+
![Version](https://img.shields.io/badge/version-2.0.9-green.svg?style=for-the-badge)
66
![Stars](https://img.shields.io/docker/stars/jc21/nginx-proxy-manager.svg?style=for-the-badge)
77
![Pulls](https://img.shields.io/docker/pulls/jc21/nginx-proxy-manager.svg?style=for-the-badge)
88

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nginx-proxy-manager",
3-
"version": "2.0.8",
3+
"version": "2.0.9",
44
"description": "A beautiful interface for creating Nginx endpoints",
55
"main": "src/backend/index.js",
66
"devDependencies": {

src/frontend/js/app/nginx/certificates/form.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ require('selectize');
1212
module.exports = Mn.View.extend({
1313
template: template,
1414
className: 'modal-dialog',
15-
max_file_size: 5120,
15+
max_file_size: 102400
1616

1717
ui: {
1818
form: 'form',
@@ -56,7 +56,7 @@ module.exports = Mn.View.extend({
5656
return;
5757
} else {
5858
if (this.ui.other_certificate[0].files[0].size > this.max_file_size) {
59-
alert('Certificate file is too large (> 5kb)');
59+
alert('Certificate file is too large (> 100kb)');
6060
return;
6161
}
6262
ssl_files.push({name: 'certificate', file: this.ui.other_certificate[0].files[0]});
@@ -67,15 +67,15 @@ module.exports = Mn.View.extend({
6767
return;
6868
} else {
6969
if (this.ui.other_certificate_key[0].files[0].size > this.max_file_size) {
70-
alert('Certificate key file is too large (> 5kb)');
70+
alert('Certificate key file is too large (> 100kb)');
7171
return;
7272
}
7373
ssl_files.push({name: 'certificate_key', file: this.ui.other_certificate_key[0].files[0]});
7474
}
7575

7676
if (this.ui.other_intermediate_certificate[0].files.length && this.ui.other_intermediate_certificate[0].files[0].size) {
7777
if (this.ui.other_intermediate_certificate[0].files[0].size > this.max_file_size) {
78-
alert('Intermediate Certificate file is too large (> 5kb)');
78+
alert('Intermediate Certificate file is too large (> 100kb)');
7979
return;
8080
}
8181
ssl_files.push({name: 'intermediate_certificate', file: this.ui.other_intermediate_certificate[0].files[0]});

0 commit comments

Comments
 (0)