URL Rewrite support
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 37.4k
- Forks
- 3k
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 73
Description
What problem will this feature address?
I am using Dokploy to deploy a slidev site, and according to its documentation, I need a rewrite when deploying static files. Just like this
{
"rewrites": [
{ "source": "/(.*)", "destination": "/index.html" }
]
}
Describe the solution you'd like
I would like to add a UI similar to the Redirect to configure this.
Describe alternatives you've considered
I now do this by manually configuring the traefik configuration file, but feel like this may be a common feature
Additional context
Middleware configuration files I used
middlewares:
test-replacepathregex:
replacePathRegex:
regex: ^/(.*)
replacement: /index.html
Will you send a PR to implement it?
Maybe, need help
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the existing Redirect UI and the middleware configuration files mentioned in the issue. Compare how redirects are exposed and persisted, then verify that a rewrite can be configured for static deployments using the requested source and destination behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devops
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100