From 597093bb0fc473798908f3440ed23ecd7296a67c Mon Sep 17 00:00:00 2001 From: Daoud Clarke <daoud.clarke@gmail.com> Date: Fri, 13 Oct 2023 20:58:54 +0100 Subject: [PATCH] More try files --- nginx.conf.sigil | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx.conf.sigil b/nginx.conf.sigil index 082723c..7d92f4b 100644 --- a/nginx.conf.sigil +++ b/nginx.conf.sigil @@ -152,12 +152,12 @@ server { ## Root and stats served statically location = / { root /var/lib/dokku/data/storage/mwmbl; - try_files /index.html; + try_files /index.html =404; } location ~ /stats/? { root /var/lib/dokku/data/storage/mwmbl; - try_files /stats/index.html; + try_files /stats/index.html =404; } error_page 400 401 402 403 405 406 407 408 409 410 411 412 413 414 415 416 417 418 420 422 423 424 426 428 429 431 444 449 450 451 /400-error.html;