How to run Nuxt2 with HTTPS in Windows
- FAQ
- How to run Nuxt2 with HTTPS in Windows
Using Nuxt2 and version 3 of Nuxt with Storyblok would require HTTPS for development.
To serve Nuxt2 with HTTPS, follow the steps below.
- Navigate to your project's main directory
- Create a public and private key as shown in the code block below
- Add your server requirements to your
nuxt.config.js
file - Add your server configuration to your
nuxt.config.js
file
HINT:
If you're a macOS user, you should check out the setup for HTTPS on MacOS.