Nginx debug and mantenance mode working
This commit is contained in:
parent
a4cdcd4039
commit
464c319c1e
2 changed files with 5 additions and 5 deletions
|
|
@ -55,10 +55,10 @@ server {
|
|||
alias /var/www/photos/photo21/static;
|
||||
}
|
||||
|
||||
error_page 503 /maintenance.html ;
|
||||
error_page 503 /static/maintenance.html ;
|
||||
|
||||
location /maintenance.html {
|
||||
try_files /var/www/photos/photo21/docs/maintenance.html =404;
|
||||
alias /var/www/photos/photo21/static ;
|
||||
}
|
||||
|
||||
location / {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue