fix nginx conf

This commit is contained in:
Andras Bacsai
2024-11-11 14:45:34 +01:00
parent b379e50d90
commit dbe6d8ef20

View File

@@ -4072,9 +4072,11 @@ function defaultNginxConfiguration(): string
try_files $uri $uri/index.html =404;
}
error_page 500 502 503 504 /50x.html;
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
root /usr/share/nginx/html;
try_files $uri @redirect_to_index;
internal;
}
error_page 404 = @handle_404;