fix nginx conf

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

View File

@@ -4075,6 +4075,8 @@ function defaultNginxConfiguration(): string
error_page 500 502 503 504 /50x.html; error_page 500 502 503 504 /50x.html;
location = /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; error_page 404 = @handle_404;