Skip to content

[Bug]: Failed to configure phpLDAPadmin behind Ingress Nginx #446

@mrdev023

Description

@mrdev023

Is there an existing issue for this?

  • I have searched the existing issues

Environment

Docker image 2.3.9

PLA Code

Docker hub

PLA Version

2.3.9

Current Behavior

When i want to configure phpLDAPadmin, the project generate http proto scheme for the url and asset when X-Forwarded-Proto: ["https"] is set.

I think, it's because

$middleware->trustProxies(at: [
not allow the Load Balancer IP. I think, it can be good to allow people set env variable like TRUSTED_PROXIES=IP1/24,IP2/24, ....

Note : In the nginx controller https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/#use-forwarded-headers is set to true

Expected Behavior

Works

Steps To Reproduce

Pull the image, configure it behind a cloud ingress nginx.

Relevant log output

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions