<?php
declare(strict_types=1);
header('Content-Type: text/html; charset=UTF-8');
$p = __DIR__ . DIRECTORY_SEPARATOR . 'index.html';
if (!is_readable($p)) {
    http_response_code(500);
    echo 'index.html missing';
    exit;
}
readfile($p);