Skip to content

Update the "Exposing a Node.js App Over 80/443 on a Subdomain in DDEV" blog post#532

Open
vermario wants to merge 4 commits intoddev:mainfrom
vermario:fix-ddev-expose-node-app-on-subdomain-blog
Open

Update the "Exposing a Node.js App Over 80/443 on a Subdomain in DDEV" blog post#532
vermario wants to merge 4 commits intoddev:mainfrom
vermario:fix-ddev-expose-node-app-on-subdomain-blog

Conversation

@vermario
Copy link

@vermario vermario commented Feb 5, 2026

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.

…" blog post

* Adjust the instructions to be compatible with the changes in ddev 1.25
@github-actions
Copy link

github-actions bot commented Feb 5, 2026

🌐 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>
@vermario vermario requested a review from stasadev February 5, 2026 22:07
Copy link
Member

@rfay rfay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this!

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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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"

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok! added in 3b242d1

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok! removed in 3b242d1

@vermario vermario requested a review from rfay February 7, 2026 09:05
@rfay
Copy link
Member

rfay commented Feb 9, 2026

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

@stasadev
Copy link
Member

Let's update the blog with just a note that this won't work on version v1.25.0, so people should upgrade.

@rfay
Copy link
Member

rfay commented Feb 12, 2026

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.

@stasadev stasadev closed this Feb 12, 2026
@stasadev stasadev reopened this Feb 12, 2026
@stasadev
Copy link
Member

Oops, I wanted to click on a reaction emoji, but my Chrome decided to jump straight into the "Close pull request" button.

Copy link
Contributor

@tyler36 tyler36 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.

Image


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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
> 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.

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.

4 participants

Comments