Skip to content

Conversation

florian-lefebvre
Copy link
Member

Description (required)

Documents how to load process.env for SSR when using the Node adapter. Other adapters do not need extra config.

Related issues & labels (optional)

SERVER_KEY_PATH=./private/key.pem SERVER_CERT_PATH=./private/cert.pem node ./dist/server/entry.mjs
```
#### Runtime environment variables
Copy link
Member Author

Choose a reason for hiding this comment

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

I discovered this section today! I think it's confusing and won't be relevant at all in Astro 6 when staticImportMetaEnv becomes the default, so I removed it

@florian-lefebvre florian-lefebvre self-assigned this Sep 22, 2025
Copy link

netlify bot commented Sep 22, 2025

Deploy Preview for astro-docs-2 ready!

Name Link
🔨 Latest commit 6acf76e
🔍 Latest deploy log https://app.netlify.com/projects/astro-docs-2/deploys/68d2b81717becb000963f35c
😎 Deploy Preview https://deploy-preview-12382--astro-docs-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@astrobot-houston
Copy link
Contributor

astrobot-houston commented Sep 22, 2025

Lunaria Status Overview

🌕 This pull request will trigger status changes.

Learn more

By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.

You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File Note
en/guides/integrations-guide/node.mdx Source changed, localizations will be marked as outdated.
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

Copy link
Member

@sarah11918 sarah11918 left a comment

Choose a reason for hiding this comment

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

Looks great Florian! See what you think about rearranging the flow a little bit!

@sarah11918 sarah11918 added the add new content Document something that is not in docs. May require testing, confirmation, or affect other pages. label Sep 23, 2025
Copy link
Member

@sarah11918 sarah11918 left a comment

Choose a reason for hiding this comment

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

Good to go! Thank you! 🫡

@florian-lefebvre florian-lefebvre merged commit e4ef297 into main Sep 23, 2025
10 checks passed
@florian-lefebvre florian-lefebvre deleted the feat/node-ssr-env-loading branch September 23, 2025 15:31
ArmandPhilippot added a commit to ArmandPhilippot/astro-docs that referenced this pull request Sep 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
add new content Document something that is not in docs. May require testing, confirmation, or affect other pages.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Environment Variables for integrations can be handled different than Astro
4 participants