Update the "Exposing a Node.js App Over 80/443 on a Subdomain in DDEV" blog post#532
Update the "Exposing a Node.js App Over 80/443 on a Subdomain in DDEV" blog post#532
Conversation
…" blog post * Adjust the instructions to be compatible with the changes in ddev 1.25
|
🌐 Fork Preview for PR #532 https://pr-532.ddev-com-fork-previews.pages.dev This preview updates automatically when you push changes to your fork. |
Co-authored-by: Stanislav Zhuk <stasadev@gmail.com>
| title: "Exposing a Node.js App Over HTTP / HTTPS on a Subdomain in DDEV" | ||
| pubDate: 2025-04-10 | ||
| #modifiedDate: 2025-04-07 | ||
| modifiedDate: 2026-02-05 |
There was a problem hiding this comment.
modifiedComment: "DDEV v1.25.0 is more restrictive on project traefik configuration, so the .ddev/traefik/project.yaml has to be edited and have the #ddev-generated removed"
There was a problem hiding this comment.
I don't think this is true at all. It should work for all versions of DDEV for a few years. Editing the project traefik config has always been something that was possible. The multiple config files thing was removed (but should make its way back in.)
|
I'm dragging my feet on this just a little because would restore the previous behavior I think, and it's likely to make it into v1.25.1 |
|
Let's update the blog with just a note that this won't work on version v1.25.0, so people should upgrade. |
|
I agree, because we'll restore the earlier behavior in v1.25.1, which shouldn't be too far away. I didn't expect to work on this so soon, but it did inconvenience just a few people. |
|
Oops, I wanted to click on a reaction emoji, but my Chrome decided to jump straight into the "Close pull request" button. |
tyler36
left a comment
There was a problem hiding this comment.
Looks good.
A couple of minor points in comments below.
| pubDate: 2025-04-10 | ||
| #modifiedDate: 2025-04-07 | ||
| modifiedDate: 2026-02-05 | ||
| modifiedComment: "DDEV v1.25.0 is more restrictive on project traefik configuration, so the .ddev/traefik/project.yaml has to be edited and have the #ddev-generated removed" |
There was a problem hiding this comment.
| modifiedComment: "DDEV v1.25.0 is more restrictive on project traefik configuration, so the .ddev/traefik/project.yaml has to be edited and have the #ddev-generated removed" | |
| modifiedComment: "DDEV v1.25.0 is more restrictive on project traefik configuration, so the .ddev/traefik/project.yaml has to be edited and have the `#ddev-generated` removed" |
Highlight the string to remove.
The below screenshot shows the current implementation.
|
|
||
| 1. Remove the `#ddev-generated` line at the top of the file. | ||
|
|
||
| > Please note: as always, this means that the file now becomes your responsibility and you will need to update it manually if you add new services etc. This process should become easier once [This issue](https://github.com/ddev/ddev/issues/8047) gets finished and released. |
There was a problem hiding this comment.
| > Please note: as always, this means that the file now becomes your responsibility and you will need to update it manually if you add new services etc. This process should become easier once [This issue](https://github.com/ddev/ddev/issues/8047) gets finished and released. | |
| > Please note: as always, this means that the file now becomes your responsibility and you will need to update it manually if you add new services etc. This process should become easier once [this issue](https://github.com/ddev/ddev/issues/8047) gets finished and released. |
The Issue
The existing instructions do not work anymore with DDEV > 1.25 because of Traefik changes.
How This PR Solves The Issue
The blog post is updated with instructions that work.
Related Issue Link(s)
ddev/ddev#8047 will probably make these instructions obsolete once completed. I have added a link to the issue.