Set the root

This commit is contained in:
Daoud Clarke 2023-10-13 20:54:31 +01:00
parent 1620322118
commit 64c9aa120f

View file

@ -151,11 +151,13 @@ server {
## Root and stats served statically
location = / {
try_files /var/lib/dokku/data/storage/mwmbl/index.html =404;
root /var/lib/dokku/data/storage/mwmbl;
try_files /index.html;
}
location ~ /stats/? {
try_files /var/lib/dokku/data/storage/mwmbl/stats/index.html =404;
root /var/lib/dokku/data/storage/mwmbl;
try_files /stats/index.html;
}
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;