Skip to content

httpcaddyfile: respond with error page from handle_errors #3782

@segevfiner

Description

@segevfiner

It looks like it is not currently possible to directly respond with an error page defined by handle_errors (Like the Nginx return.

An example use case where this could be useful:

respond /subpath/ 404 # <- I want to return an error page defined in handle_errors
rewrite /subpath/* /subpath/index.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions