change error page
This commit is contained in:
parent
b466d09c18
commit
e3c124df80
@ -39,11 +39,18 @@ server {
|
||||
# add_header Cache-Control "public";
|
||||
# }
|
||||
|
||||
error_page 500 502 503 504 404 403 /loader.html;
|
||||
# error_page 500 502 503 504 404 403 /loader.html;
|
||||
|
||||
location = /loader.html {
|
||||
root /home/randomsec/RandomSec/MUOR/MUOR/configs/;
|
||||
internal;
|
||||
root /home/randomsec/RandomSec/MUOR/MUOR/configs;
|
||||
}
|
||||
|
||||
location /static/ {
|
||||
alias /home/randomsec/RandomSec/staticfiles/; # your Django project's static files - amend as required
|
||||
expires 2d;
|
||||
access_log off;
|
||||
add_header Pragma public;
|
||||
add_header Cache-Control "public";
|
||||
}
|
||||
|
||||
location /logout/ {
|
||||
|
@ -40,11 +40,18 @@ server {
|
||||
# add_header Cache-Control "public";
|
||||
# }
|
||||
|
||||
error_page 500 502 503 504 404 403 /loader.html;
|
||||
# error_page 500 502 503 504 404 403 /loader.html;
|
||||
|
||||
location = /loader.html {
|
||||
root /home/randomsec/RandomSec/MUOR/MUOR/configs/;
|
||||
internal;
|
||||
root /home/randomsec/RandomSec/MUOR/MUOR/configs;
|
||||
}
|
||||
|
||||
location /static/ {
|
||||
alias /home/randomsec/RandomSec/staticfiles/; # your Django project's static files - amend as required
|
||||
expires 2d;
|
||||
access_log off;
|
||||
add_header Pragma public;
|
||||
add_header Cache-Control "public";
|
||||
}
|
||||
|
||||
location /logout/ {
|
||||
|
Loading…
Reference in New Issue
Block a user