tohle prepsalo muj list ip adres
This commit is contained in:
parent
44de01f6eb
commit
4ff5d70331
@ -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.');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user