change loading of loader page

This commit is contained in:
prance 2022-01-30 17:53:37 +01:00
parent e30255f504
commit 117222cafd
2 changed files with 8 additions and 6 deletions

View File

@ -39,10 +39,11 @@ server {
# add_header Cache-Control "public";
# }
error_page 500 502 503 504 404 403 /error.html;
error_page 500 502 503 504 404 403 /loader.html;
location = /error.html {
try_files /home/randomsec/RandomSec/MUOR/MUOR/configs/loader.html 404;
location = /loader.html {
root /home/randomsec/RandomSec/MUOR/MUOR/configs/;
internal;
}
location /logout/ {

View File

@ -38,10 +38,11 @@ server {
# add_header Cache-Control "public";
# }
error_page 500 502 503 504 404 403 /error.html;
error_page 500 502 503 504 404 403 /loader.html;
location = /error.html {
try_files /home/randomsec/RandomSec/MUOR/MUOR/configs/loader.html 404;
location = /loader.html {
root /home/randomsec/RandomSec/MUOR/MUOR/configs/;
internal;
}
location /logout/ {