mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-07 12:52:54 -05:00
Added support for Crowdsec, an open-source and collaborative IPS (Intrusion Prevention System)
This commit is contained in:
@@ -39,6 +39,9 @@ module.exports.CreateRedirServer = function (parent, db, args, func) {
|
||||
res.redirect('https://' + host + ':' + httpsPort + req.url);
|
||||
}
|
||||
|
||||
// Setup CrowdSec bouncer middleware if needed
|
||||
if (parent.crowdsecMiddleware != null) { obj.app.use(parent.crowdsecMiddleware); }
|
||||
|
||||
/*
|
||||
// Return the current domain of the request
|
||||
function getDomain(req) {
|
||||
|
||||
Reference in New Issue
Block a user