From 1ec232c23ece8d52ce02ecfede69e61a85277a08 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 14 Mar 2024 14:52:28 +0100 Subject: [PATCH] Update start command to listen on all interfaces --- astro/server/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/astro/server/README.md b/astro/server/README.md index f5b8306..48aae30 100644 --- a/astro/server/README.md +++ b/astro/server/README.md @@ -4,5 +4,5 @@ Static build: `{"output":"static"}` 1. Use `Nixpacks` 2. Set `Ports Exposed` to `4321` (or any port you set in your `astro.config.mjs` file) -3. Set `Start Command` to `node dist/server/entry.mjs` - - Alternatively, you can set the `start script` inside `package.json` to `node dist/server/entry.mjs`. Then Nixpacks will automatically use it as the start command. +3. Set `Start Command` to `HOST=0.0.0.0 node dist/server/entry.mjs` + - Alternatively, you can set the `start script` inside `package.json` to `HOST=0.0.0.0 node dist/server/entry.mjs`. Then Nixpacks will automatically use it as the start command.