phpLDAPadmin icon indicating copy to clipboard operation
phpLDAPadmin copied to clipboard

Allow manual disabling of "This web connection is unencrypted" message

Open Amphaal opened this issue 1 year ago • 1 comments

My instance of phpLDAPadmin being behind a Cloudflare proxy, connection is indeed secure.

Capture d’écran 2024-06-05 à 14 10 27

Could we juste disable this message by passing an env variable ?

Amphaal avatar Jun 05 '24 12:06 Amphaal

Was digging around on a similar problem and found the following in the NginX config

set $my_https "off";
	if ($http_x_forwarded_proto = "https") {
		set $my_https "on";
	}

Which should mean that if you set http_x_forwarded_proto to https in your cloudflair proxy it should disable this message.

Not sure if you can do this but thought I would document it in case it helps some one.

Randy-Blancett avatar Oct 24 '24 23:10 Randy-Blancett