Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/content/blog/ddev-expose-node-app-on-subdomain.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
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-23
modifiedComment: "Added compatibility note: this technique does not work in DDEV v1.25.0 due to an incomplete Traefik refactoring; upgrade to v1.25.1 or later."
summary: Serve a Node.js app on a dedicated subdomain over HTTP/HTTPS using DDEV’s Traefik.
author: J. Minder
featureImage:
Expand Down Expand Up @@ -57,6 +58,10 @@ However, for a subdomain over standard web ports, the critical part is the next

## Step 2: Create a Project-level Traefik Configuration File

:::warning
This technique does not work in DDEV v1.25.0. That release included a major Traefik refactoring that did not yet cover project-level configuration. Upgrade to v1.25.1 or later, which includes a fix for this and other issues introduced in v1.25.0.
:::

In your project's `.ddev/traefik/config` folder add a file named `frontend.yaml`. In `frontend.yaml`, you’ll define two routers—one for HTTP (port 80) and one for HTTPS (port 443)—and
a service that points to the Node.js app on port 3000.

Expand Down
Loading