Skip to content

Example minimal config for https #172

@eddiesholl

Description

@eddiesholl

Documentation Is:

  • Missing
  • Needed
  • Confusing
  • Not Sure?

Please Explain in Detail...

Not sure if this fits better under your doc issue tag of under help/support, either way any help much appreciated here!

I'm trying to upgrade my config from a much older version of webpack-serve, and I'm struggling to find a minimal config for the https setting object. I have managed to resolve a few other problems, but am currently stuck with my browser complaining about opening an insecure WebSocket connection.

Looking at my previous config, I was setting hot.https = true. I guess I'm looking for the simple equivalent settings to get parity with this old setting. I've tried setting https = {}, and followed the guidance in the node docs that are linked as well, but every combination I have tried so far puts the dev server in a state where it refuses to serve other content (inside my docker container setup).

Your Proposal for Changes

An https example that offers parity with the old hot.https = true

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions