tohle prepsalo muj list ip adres

This commit is contained in:
batmanisko 2023-12-02 19:09:12 +01:00
parent 44de01f6eb
commit 4ff5d70331

View File

@ -43,7 +43,6 @@ if (HTTP_REMOTE_USER_ENABLED) {
//TODO: nevim jak udelat console.log pouze pro "debug"
//console.log("Budu věřit hlavičkám z: " + HTTP_REMOTE_TRUSTED_IPS);
app.set('trust proxy', HTTP_REMOTE_TRUSTED_IPS);
app.enable('trust proxy');
console.log('Zapnutý login přes hlaviček z proxy.');
}