Skip to content

ingress path case-insensitive issue with haproxy-controller #794

@mustafasemihbay

Description

@mustafasemihbay

Hello,

We are currently migrating ingress controller from ingress-nginx to haproxy-ingress and encountered an issue related to case-sensitive path matching.

In ingress-nginx, path matching works in a case-insensitive manner. For example, when the path is configured as /example-api, it correctly matches URLs such as /example-api, /EXAMPLE-api, or /example-Api. However, with haproxy-ingress we receive a 404 Not Found error when the case differs.

We tested different pathType options (ImplementationSpecific, Exact, and Prefix), but the behavior did not change. Case-insensitive path matching is important for us during this migration. It may also be relevant for other users migrating from ingress-nginx.

Environment;
Azure Kubernetes Service(v1.34.1)
haproxy-ingress deployed with Helm v1.48.0 (App Version v3.2.5).

basically ingress rule like this;

spec:
rules:
- host: example.domain.com
http:
paths:
- path: /example-api
pathType: ImplementationSpecific
backend:
service:
name: example-api
port:
number: 80

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions