Skip to content

Commit

Permalink
Merge pull request #17 from Matige/patch-1
Browse files Browse the repository at this point in the history
Fix display of default 503 error page
  • Loading branch information
josegonzalez authored Dec 9, 2023
2 parents 521f8f1 + 3eed8b5 commit ebc2762
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/maintenance.conf
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
location ~* ^(.*)$ {
root {APP_ROOT}/maintenance/;
try_files $uri =503;
try_files $uri =533;
}

error_page 503 @maintenance;
error_page 533 =503 @maintenance;

location @maintenance {
root {APP_ROOT}/maintenance/;
Expand Down

0 comments on commit ebc2762

Please sign in to comment.