test i cant count no more

This commit is contained in:
Didier Slof 2023-02-19 15:26:27 +01:00
parent 7e9b720de8
commit 39ba753d20
Signed by: didier
GPG key ID: 01E71F18AA4398E5
2 changed files with 6 additions and 3 deletions

View file

@ -293,11 +293,14 @@ server {
listen [::]:{{ $globals.external_http_port }};
{{- end }}
{{ $globals.access_log }}
error_page 503 /50x.html;
location = /50x.html {
error_page 503 /503.html;
location = /503.html {
root /usr/share/nginx/html;
}
return 503 "i hate nginx";
location / {
return 503;
}
{{- if (and (exists "/etc/nginx/certs/default.crt") (exists "/etc/nginx/certs/default.key")) }}
listen {{ $globals.external_https_port }} ssl http2;