Skip to content

Commit

Permalink
Merge pull request #3581 from davidindra/increase-max-domains-count
Browse files Browse the repository at this point in the history
Fix: increase max number of domains to 100 (match with Let's Encrypt)
  • Loading branch information
jc21 authored Feb 27, 2024
2 parents e3d4882 + 10ece35 commit 63cd9ba
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion backend/schema/definitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
"description": "Domain Names separated by a comma",
"example": "*.jc21.com,blog.jc21.com",
"type": "array",
"maxItems": 30,
"maxItems": 100,
"uniqueItems": true,
"items": {
"type": "string",
Expand Down
2 changes: 0 additions & 2 deletions backend/templates/_location.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{% include "_hsts_map.conf" %}

location {{ path }} {
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Scheme $scheme;
Expand Down
2 changes: 1 addition & 1 deletion frontend/js/app/nginx/certificates/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ module.exports = Mn.View.extend({
this.ui.domain_names.selectize({
delimiter: ',',
persist: false,
maxOptions: 30,
maxOptions: 100,
create: function (input) {
return {
value: input,
Expand Down
2 changes: 1 addition & 1 deletion frontend/js/app/nginx/dead/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ module.exports = Mn.View.extend({
this.ui.domain_names.selectize({
delimiter: ',',
persist: false,
maxOptions: 30,
maxOptions: 100,
create: function (input) {
return {
value: input,
Expand Down
2 changes: 1 addition & 1 deletion frontend/js/app/nginx/proxy/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ module.exports = Mn.View.extend({
this.ui.domain_names.selectize({
delimiter: ',',
persist: false,
maxOptions: 30,
maxOptions: 100,
create: function (input) {
return {
value: input,
Expand Down
2 changes: 1 addition & 1 deletion frontend/js/app/nginx/redirection/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ module.exports = Mn.View.extend({
this.ui.domain_names.selectize({
delimiter: ',',
persist: false,
maxOptions: 30,
maxOptions: 100,
create: function (input) {
return {
value: input,
Expand Down

0 comments on commit 63cd9ba

Please sign in to comment.