mirror of
https://github.com/jc21/nginx-proxy-manager.git
synced 2024-08-30 18:22:48 +00:00
Increased custom ssl file size limits
This commit is contained in:
parent
8b8f5fac69
commit
83ef426b93
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Nginx Proxy Manager
|
# Nginx Proxy Manager
|
||||||
|
|
||||||
![Version](https://img.shields.io/badge/version-2.0.8-green.svg?style=for-the-badge)
|
![Version](https://img.shields.io/badge/version-2.0.9-green.svg?style=for-the-badge)
|
||||||
![Stars](https://img.shields.io/docker/stars/jc21/nginx-proxy-manager.svg?style=for-the-badge)
|
![Stars](https://img.shields.io/docker/stars/jc21/nginx-proxy-manager.svg?style=for-the-badge)
|
||||||
![Pulls](https://img.shields.io/docker/pulls/jc21/nginx-proxy-manager.svg?style=for-the-badge)
|
![Pulls](https://img.shields.io/docker/pulls/jc21/nginx-proxy-manager.svg?style=for-the-badge)
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Nginx Proxy Manager
|
# Nginx Proxy Manager
|
||||||
|
|
||||||
![Version](https://img.shields.io/badge/version-2.0.8-green.svg?style=for-the-badge)
|
![Version](https://img.shields.io/badge/version-2.0.9-green.svg?style=for-the-badge)
|
||||||
![Stars](https://img.shields.io/docker/stars/jc21/nginx-proxy-manager.svg?style=for-the-badge)
|
![Stars](https://img.shields.io/docker/stars/jc21/nginx-proxy-manager.svg?style=for-the-badge)
|
||||||
![Pulls](https://img.shields.io/docker/pulls/jc21/nginx-proxy-manager.svg?style=for-the-badge)
|
![Pulls](https://img.shields.io/docker/pulls/jc21/nginx-proxy-manager.svg?style=for-the-badge)
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "nginx-proxy-manager",
|
"name": "nginx-proxy-manager",
|
||||||
"version": "2.0.8",
|
"version": "2.0.9",
|
||||||
"description": "A beautiful interface for creating Nginx endpoints",
|
"description": "A beautiful interface for creating Nginx endpoints",
|
||||||
"main": "src/backend/index.js",
|
"main": "src/backend/index.js",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@ -12,7 +12,7 @@ require('selectize');
|
|||||||
module.exports = Mn.View.extend({
|
module.exports = Mn.View.extend({
|
||||||
template: template,
|
template: template,
|
||||||
className: 'modal-dialog',
|
className: 'modal-dialog',
|
||||||
max_file_size: 5120,
|
max_file_size: 102400
|
||||||
|
|
||||||
ui: {
|
ui: {
|
||||||
form: 'form',
|
form: 'form',
|
||||||
@ -56,7 +56,7 @@ module.exports = Mn.View.extend({
|
|||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
if (this.ui.other_certificate[0].files[0].size > this.max_file_size) {
|
if (this.ui.other_certificate[0].files[0].size > this.max_file_size) {
|
||||||
alert('Certificate file is too large (> 5kb)');
|
alert('Certificate file is too large (> 100kb)');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
ssl_files.push({name: 'certificate', file: this.ui.other_certificate[0].files[0]});
|
ssl_files.push({name: 'certificate', file: this.ui.other_certificate[0].files[0]});
|
||||||
@ -67,7 +67,7 @@ module.exports = Mn.View.extend({
|
|||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
if (this.ui.other_certificate_key[0].files[0].size > this.max_file_size) {
|
if (this.ui.other_certificate_key[0].files[0].size > this.max_file_size) {
|
||||||
alert('Certificate key file is too large (> 5kb)');
|
alert('Certificate key file is too large (> 100kb)');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
ssl_files.push({name: 'certificate_key', file: this.ui.other_certificate_key[0].files[0]});
|
ssl_files.push({name: 'certificate_key', file: this.ui.other_certificate_key[0].files[0]});
|
||||||
@ -75,7 +75,7 @@ module.exports = Mn.View.extend({
|
|||||||
|
|
||||||
if (this.ui.other_intermediate_certificate[0].files.length && this.ui.other_intermediate_certificate[0].files[0].size) {
|
if (this.ui.other_intermediate_certificate[0].files.length && this.ui.other_intermediate_certificate[0].files[0].size) {
|
||||||
if (this.ui.other_intermediate_certificate[0].files[0].size > this.max_file_size) {
|
if (this.ui.other_intermediate_certificate[0].files[0].size > this.max_file_size) {
|
||||||
alert('Intermediate Certificate file is too large (> 5kb)');
|
alert('Intermediate Certificate file is too large (> 100kb)');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
ssl_files.push({name: 'intermediate_certificate', file: this.ui.other_intermediate_certificate[0].files[0]});
|
ssl_files.push({name: 'intermediate_certificate', file: this.ui.other_intermediate_certificate[0].files[0]});
|
||||||
|
Loading…
Reference in New Issue
Block a user