Skip to content

Apply routing constraint to […] bind? #1636

@richard-giraud

Description

@richard-giraud

Hello,

Is it possible to apply a constraint to the binding? I’m trying to use the :cowboy_static handler while keeping certain files from being served (e.g., *.php). I can apply a constraint to any of the regular binds and not that one; it doesn’t seem to come up in the list of binds.

If it’s not available, a syntax like [:foo…] may be a good approach. If that is of interest, I can try to implement it.

Thank you in advane.

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