⚠️
The vite-plugin-ssr project has been renamed Vike.
  • If you are using vite-plugin-ssr, migrate to Vike.
  • For new projects, use Vike instead of vite-plugin-ssr.
Vike itself (without extensions) is like vite-plugin-ssr: unopinionated and fully agnostic.

HTTPS

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: