优化几个内置的页面版本,增加连接信息,方便诊断

This commit is contained in:
刘祥超
2023-08-25 15:03:31 +08:00
parent 5252188a68
commit 5d5040651e
4 changed files with 24 additions and 8 deletions

View File

@@ -54,11 +54,15 @@ Vue.component("http-firewall-actions-box", {
}
var defaultPageBody = `<!DOCTYPE html>
<html>
<html lang="en">
<title>403 Forbidden</title>
\t<style>
\t\taddress { line-height: 1.8; }
\t</style>
<body>
<h1>403 Forbidden</h1>
<address>Request ID: \${requestId}.</address>
<address>Connection: \${remoteAddr} (Client) -&gt; \${serverAddr} (Server)</address>
<address>Request ID: \${requestId}</address>
</body>
</html>`