Special cases for home and stats pages
This commit is contained in:
parent
973fe8198c
commit
c30fd607d4
1 changed files with 9 additions and 0 deletions
|
@ -149,6 +149,15 @@ server {
|
|||
alias /var/lib/dokku/data/storage/mwmbl/;
|
||||
}
|
||||
|
||||
## Root and stats served statically
|
||||
location = / {
|
||||
root /var/lib/dokku/data/storage/mwmbl/
|
||||
}
|
||||
|
||||
location ~ /stats/? {
|
||||
root /var/lib/dokku/data/storage/mwmbl/
|
||||
}
|
||||
|
||||
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;
|
||||
location /400-error.html {
|
||||
root {{ $.DOKKU_LIB_ROOT }}/data/nginx-vhosts/dokku-errors;
|
||||
|
|
Loading…
Reference in a new issue