Skip to content

Commit

Permalink
temporary response should not enable a successful healthcheck or cache
Browse files Browse the repository at this point in the history
  • Loading branch information
capile authored Nov 14, 2024
1 parent d9bfc19 commit 7f36d26
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions core/files/var/www/html/index.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<?php
$proto = (isset($_SERVER['SERVER_PROTOCOL']))?($_SERVER['SERVER_PROTOCOL']):('HTTP/1.1');
header($proto.' 503 Service Unavailable', true);
header('cache-control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0');
header('retry-after: 30');
header('refresh: 30');
?>
<html>
MISP is loading...
</html>

0 comments on commit 7f36d26

Please sign in to comment.