Skip to content
New issue

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

[Bug]: Two ghost installations clash and crashes Traefik #3224

Closed
1 of 2 tasks
AlejandroAkbal opened this issue Aug 26, 2024 · 5 comments · Fixed by #4193
Closed
1 of 2 tasks

[Bug]: Two ghost installations clash and crashes Traefik #3224

AlejandroAkbal opened this issue Aug 26, 2024 · 5 comments · Fixed by #4193

Comments

@AlejandroAkbal
Copy link
Contributor

Description

Hi, some months ago I was able to put Ghost on a subdirectory of another website in Coolify

Let's say I have

  • Website A (Laravel)
  • Website B (Ghost)

I could have B inside A on a subdirectory like example/blog

But now it seems like requests are not redirected to website B, it shows 404 of website A

Minimal Reproduction (if possible, example repository)

  1. Create a website of any kind
  2. Create a ghost website
  3. Set the URL to something like https://example.com:2368/blog
  4. It does not work :(

Exception or Error

No response

Version

v4.0.0-beta.323

Cloud?

  • Yes
  • No
@AlejandroAkbal
Copy link
Contributor Author

Basically this commit allowed ghost on subdirectory @andrasbacsai
543f983

@AlejandroAkbal
Copy link
Contributor Author

Okay, the issue is having multiple ghost services, the traefik.http.middlewares.redir-ghost middleware is clashing with other projects, because it's duplicated

Please fix it @andrasbacsai by making them unique based on the project name

@peaklabs-dev peaklabs-dev added the 🐛 Bug Reported issues that need to be reproduced by the team. label Aug 31, 2024
@AlejandroAkbal AlejandroAkbal changed the title [Bug]: Ghost on a sub directory no longer works? [Bug]: Two ghost installations clash and crashes Traefik Sep 1, 2024
@Opswatch
Copy link

Opswatch commented Sep 3, 2024

Running into the same issue as well

@peaklabs-dev peaklabs-dev added 🐞 Confirmed Bug Verified issues that have been reproduced by the team. and removed 🐛 Bug Reported issues that need to be reproduced by the team. labels Oct 31, 2024
@peaklabs-dev peaklabs-dev added this to the v4.0.0 Stable Release milestone Oct 31, 2024
@peaklabs-dev peaklabs-dev added 🐞 Confirmed Bug Verified issues that have been reproduced by the team. and removed 🐞 Confirmed Bug Verified issues that have been reproduced by the team. labels Oct 31, 2024
@github-actions github-actions bot removed the 🐞 Confirmed Bug Verified issues that have been reproduced by the team. label Nov 8, 2024
@peaklabs-dev
Copy link
Member

I added a fix in v364 please try again now and let me know if it works.

@AlejandroAkbal
Copy link
Contributor Author

It works, thanks a lot <3

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants