question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Implement HTTPS for Development (localhost)

See original GitHub issue

Feature request

Is your feature request related to a problem? Please describe.

I would like to be able to easily use HTTPS on my localhost

Describe the solution you’d like

Be able to change the dev script like so:

-"dev": "next",
+"dev": "HTTPS=true next",

Additional context

CRA and Gatsby both handle this. Gatsby uses devcert.

https://www.gatsbyjs.org/docs/local-https/ https://create-react-app.dev/docs/using-https-in-development/

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:23
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

17reactions
frank-dspeedcommented, May 29, 2020

@timneutkens its ok for me no need to talk about that vercel is dead for me. I will do a little youtube video about that and then forget it and call it a day.

2reactions
mifrejcommented, Mar 11, 2021

Is there any plan to follow with this issue? It would be great to have this feature natively baked in in the nextjs.config instead creating custom Node server like in the mentioned example

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using HTTPS in Your Development Environment - Auth0
Learn why you should use HTTPS even for development and how to set up your localhost with that secure protocol.
Read more >
How to develop over HTTPS on localhost - mjswensen.com
Step 1: Generate a self-signed SSL certificate · Step 2: Install and trust the certificate · Step 3: Configure your development server to...
Read more >
How to Get SSL HTTPS for Localhost - Section.io
Steps to follow · Create a certificate. · Sign an SSL certificate for localhost. · Develop a server using Node. · Configure the...
Read more >
How to get HTTPS working on your local development ...
Use your new SSL certificate. You're now ready to secure your localhost with HTTPS. Move the server.key and server.crt files ...
Read more >
How to create a https server on localhost - ssl - Stack Overflow
9 Answers 9 · Run your server. Nodejs or what you usually use. · If you are still in the same directory as...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found