* Add host whitelisting middleware
* Add prompt to enable hostWhitelist
* perf: Freeze config array
* Update src/middleware/hostWhitelist.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* perf: Add max known hosts limit
* Add validation warning disable hint
* Add conditional host whitelist middleware based on SSL configuration
* Check for cache exhaustion before logging
* Revert "Add conditional host whitelist middleware based on SSL configuration"
This reverts commit 968104c6f4.
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
22 lines
488 B
HTML
22 lines
488 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<title>Forbidden</title>
|
|
</head>
|
|
|
|
<body>
|
|
<h1>Forbidden</h1>
|
|
<p>
|
|
If you are the system administrator, add the hostname you are accessing from to the
|
|
host whitelist, or disable host whitelisting in the
|
|
<code>config.yaml</code> file located in the root directory of your installation.
|
|
</p>
|
|
<hr />
|
|
<p>
|
|
<em>Access from this host is not allowed. This attempt has been logged.</em>
|
|
</p>
|
|
</body>
|
|
|
|
</html>
|