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