tapio / live-server

A simple development http server with live reload capability.
http://tapiov.net/live-server/
4.43k stars 484 forks source link

Unable proxy to the HTTPS-enabled website #250

Closed doggy8088 closed 5 years ago

doggy8088 commented 6 years ago

Issue description

When I try to proxy a HTTPS-enabled website, it just can't navigate any page. image

Software details

guysoft commented 5 years ago

You need to enable websockets in your proxy, something like this: https://github.com/guysoft/nginx-proxy-pass-docker/commit/24f7801d8c9f1969f3b6e71b19fff352b1d6e402

KingMario commented 5 years ago

@doggy8088 You may try this: NODE_TLS_REJECT_UNAUTHORIZED=0 live-server --proxy=/:https://uaptc.azurewebsites.net