Skip to content

Commit 84f5623

Browse files
committed
fix default 444
1 parent cdf8efa commit 84f5623

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

backend/templates/default.conf

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ server {
4141

4242
{% if value == "444" %}
4343
ssl_reject_handshake on;
44-
return 444;
44+
location / { return 444; }
4545
{% else %}
4646
ssl_certificate ;
4747
ssl_certificate_key ;
@@ -51,9 +51,7 @@ server {
5151
{% endif %}
5252

5353
{% if value == "redirect" %}
54-
location / {
55-
return 307 {{ meta.redirect }};
56-
}
54+
location / { return 307 {{ meta.redirect }}; }
5755
{% endif %}
5856

5957
{% if value == "congratulations" %}

frontend/js/i18n/de-lang.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@
182182
"settings": {
183183
"default-site": "Standard-Seite",
184184
"default-site-404": "Dead Seite",
185-
"default-site-444": "Verbindung abbrechen - erlaubt nur certbot dns-challenge",
185+
"default-site-444": "Verbindung abbrechen",
186186
"default-site-congratulations": "Glückwunsch-Seite",
187187
"default-site-description": "Was angezeigt werden soll, wenn Nginx einen unbekannten Host antrifft",
188188
"default-site-html": "Individuelle Seite",

frontend/js/i18n/en-lang.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@
182182
"settings": {
183183
"default-site": "Default Site",
184184
"default-site-404": "404 Page",
185-
"default-site-444": "Drop connection - only allows certbot dns-challenge",
185+
"default-site-444": "Drop connection",
186186
"default-site-congratulations": "Congratulations Page",
187187
"default-site-description": "What to show when Nginx is hit with an unknown Host",
188188
"default-site-html": "Custom Page",

frontend/js/i18n/it-lang.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@
182182
"settings": {
183183
"default-site": "Sito predefinito",
184184
"default-site-404": "Pagina 404",
185-
"default-site-444": "Interrompi la connessione: consenti solo certbot dns-challenge",
185+
"default-site-444": "Interrompi la connessione",
186186
"default-site-congratulations": "Pagina di congratulazioni",
187187
"default-site-description": "Cosa mostrare quando Nginx viene raggiunto da un host sconosciuto",
188188
"default-site-html": "Pagina personalizzata",

0 commit comments

Comments
 (0)