Vite + Express + HTTPS not working #8046
-
Did anyone have success using Vite + Express + HTTPS? I'm looking for some code I can use as reference. My HTTPS configuration that worked without Vite doesn't seem to be compatible with Vite. The browser can't find the dev server and this happens: Would be nice to have that in the docs too and maybe even in https://github.com/remix-run/remix/tree/main/templates or https://github.com/remix-run/examples. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I started from the official |
Beta Was this translation helpful? Give feedback.
I started from the official
unstable-vite-express
template and experimented with https here https://github.com/hi-ogawa/test-remix-vite-express-https.I think I made it work both
dev
(with hmr) andbuild + start
(though I'm not particularly experience with using https locally, so I might have missed something).I hope it helps!
If something still doesn't work, I would appreciate if you can share more details about your setup.