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
Running dev in https fails on rc10 #14911
Comments
Hi. As mentioned in nuxt/framework#7271, for self-signed certificates, you need NODE_TLS_REJECT_UNAUTHORIZED=0 npx nuxi dev --https --ssl-cert localhost.pem --ssl-key localhost-key.pem |
Ah right, sorry. I did have a search around the various issues but didn't see that. Yes, it works with that set. |
I believe this is already present in the docs: https://v3.nuxtjs.org/api/commands/dev/#nuxi-dev. @pi0 Are you thinking of putting it somewhere else? |
It should work out of the box with RC.11+ (via nuxt/framework#7547). You can use edge channel to try this. |
I can confirm it does. Nice work. Thanks @pi0 |
is it works for LAN? i've tried many times but no luck
|
Environment
Darwin
v16.17.0
3.0.0-rc.10
0.5.3
yarn@1.22.19
vite
nitro
-
-
Reproduction
https://github.com/chrisnoden/nuxt3-bug
mkcert
npx nuxi dev --https --ssl-cert localhost.pem --ssl-key localhost-key.pem
Describe the bug
Error in browser and on terminal. Unable to use https, but http (no SSL) works.
Additional context
#14783
Logs
The text was updated successfully, but these errors were encountered: