Dokploy / Dokploy/dokploy

URL Rewrite support

Open
#1,700 4 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.