test i cant count no more
This commit is contained in:
parent
7e9b720de8
commit
39ba753d20
2 changed files with 6 additions and 3 deletions
|
@ -293,11 +293,14 @@ server {
|
||||||
listen [::]:{{ $globals.external_http_port }};
|
listen [::]:{{ $globals.external_http_port }};
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{ $globals.access_log }}
|
{{ $globals.access_log }}
|
||||||
error_page 503 /50x.html;
|
|
||||||
location = /50x.html {
|
error_page 503 /503.html;
|
||||||
|
location = /503.html {
|
||||||
root /usr/share/nginx/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")) }}
|
{{- if (and (exists "/etc/nginx/certs/default.crt") (exists "/etc/nginx/certs/default.key")) }}
|
||||||
listen {{ $globals.external_https_port }} ssl http2;
|
listen {{ $globals.external_https_port }} ssl http2;
|
||||||
|
|
Reference in a new issue