Skip to content

🎯 Suffix Match Redirect

Matches URLs that end with a specified string, suitable for specific file types or suffixes.

Configuration Rule

# Suffix Match Test Configuration
*.localprod####https://production.example.com
*config.json$####https://config.example.com

💡 Rule Description

Use the * prefix or $ suffix to match URLs that end with a specified string.

  • Suitable for redirecting specific file extensions.
  • Can match domains or paths with a specific suffix.
  • Supports special cases like configuration files and API endpoints.
  • Can be combined with prefix matching for precise control.

How to Test

Released under the MIT License.