Skip to content

Commit 7f36d26

Browse files
authored
temporary response should not enable a successful healthcheck or cache #185 (#186)
1 parent d9bfc19 commit 7f36d26

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

core/files/var/www/html/index.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
<?php
2+
$proto = (isset($_SERVER['SERVER_PROTOCOL']))?($_SERVER['SERVER_PROTOCOL']):('HTTP/1.1');
3+
header($proto.' 503 Service Unavailable', true);
4+
header('cache-control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0');
5+
header('retry-after: 30');
6+
header('refresh: 30');
7+
?>
18
<html>
29
MISP is loading...
310
</html>

0 commit comments

Comments
 (0)