We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(opened this issue as a reminder not to forget to add this feature to the readme)
reverse_host is similar to host. https://github.com/mu-semtech/mu-dispatcher#matching-on-host but is different as it will match the start of the url instead of the end. So very useful for matching subdomains for example
Example: %{ reverse_host: ["harvesting" | _rest ], layer: :static } will match any url starting with "harvesting"
%{ reverse_host: ["harvesting" | _rest ], layer: :static }
Success: "harvesting.redpencil.io"
fails: "redpencil.harvesting.io"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
(opened this issue as a reminder not to forget to add this feature to the readme)
reverse_host is similar to host. https://github.com/mu-semtech/mu-dispatcher#matching-on-host
but is different as it will match the start of the url instead of the end. So very useful for matching subdomains for example
Example:
%{ reverse_host: ["harvesting" | _rest ], layer: :static }
will match any url starting with "harvesting"
Success:
"harvesting.redpencil.io"
fails:
"redpencil.harvesting.io"
The text was updated successfully, but these errors were encountered: