vite-plugin-ssr has been renamed Vike, see migration guide.


In production, Vite + vite-plugin-ssr is only a server middleware; there is nothing special to take into consideration.

If we want to use HTTPS in dev as well, then we need to pass the HTTPS certificates to Vite's dev server. For example: