8000 Custom 404 if subdomain does not match · Issue #1295 · nginx/kubernetes-ingress · GitHub
[go: up one dir, main page]

Skip to content

Custom 404 if subdomain does not match #1295

@030

Description

@030

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

There is a wildcard DNS entry, i.e. boo.some-domain and foo.some-domain point to the same IP address. The host in the ingress routes the traffic to the correct service. When the subdomain is neither boo, nor foo, a default 404 nginx page is returned.

Describe the solution you'd like
A clear and concise description of what you want to happen.

An annotation that can be added to the ingress-controller and that overrides the custom 404 page by a html page that one could create themselves.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

#752, but in this case, there are two subdomains instead of two URIs, e.g. /tea. /coffee

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementPull requests for new features/feature enhancements

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0