Skip to content

Conversation

@SimonLoir
Copy link
Contributor

@SimonLoir SimonLoir commented Oct 11, 2025

What is this PR about?

When an application was deleted, the redirects were removed from the middleware. However, if the application is on a remote server, the local middleware was loaded, not the remote one.
This PR fixes #2806 and possibly #2343 by loading the remote middleware instead of the local middleware if the application is hosted on a remote server

Checklist

Before submitting this PR, please make sure that:

Issues related (if applicable)

closes #2806

Screenshots (if applicable)

@SimonLoir SimonLoir marked this pull request as ready for review October 11, 2025 15:01
@Siumauricio Siumauricio merged commit 3aaef9c into Dokploy:canary Oct 16, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

middlewares.yml emptied when deleting a project on remote server

2 participants