Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support NITRO_SSL_CERT, NITRO_SSL_KEY, NITRO_HOST for dev server #2469

Open
blowsie opened this issue May 24, 2024 · 0 comments
Open

support NITRO_SSL_CERT, NITRO_SSL_KEY, NITRO_HOST for dev server #2469

blowsie opened this issue May 24, 2024 · 0 comments

Comments

@blowsie
Copy link

blowsie commented May 24, 2024

Environment

OS
Windows 11

Node

λ node -v
v22.1.0

Pnpm

λ pnpm -v
8.15.7

Nitro

λ pnpm list nitropack
Legend: production dependency, optional only, dev only

devDependencies:
nitropack 2.9.6

Reproduction

  • Set environment variable NITRO_HOST.
  • run nitro dev

Describe the bug

The settings via environment variables defined here don't work with the dev server.
https://nitro.unjs.io/deploy/runtimes/node#environment-variables

Additional context

Setting these variables does work in a nuxt projects dev server

Logs

No response

@pi0 pi0 changed the title dev server does not respect environment variables NITRO_SSL_CERT, NITRO_SSL_KEY, NITRO_HOST support NITRO_SSL_CERT, NITRO_SSL_KEY, NITRO_HOST for dev server May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants