10up / wp-local-docker-docs

Documentation for WP Local Docker
https://github.com/10up/wp-local-docker-v2#readme
MIT License
18 stars 6 forks source link

Can't work with BrowserSync #40

Open frankypixels opened 3 years ago

frankypixels commented 3 years ago

Describe your question

I'm working with Gulp and Browsersync (just the nature of the project). I'm trying to use the Live Reload feature on port :3000 and I keep getting a browser error:

NET::ERR_CERT_AUTHORITY_INVALID

Now I realize there's something I'm missing either in the init() options on the BrowserSync side or within 10updocker. Just looking for any direction here.

jayhill90 commented 3 years ago

Hey @frankypixels have you tried creating a self signed cert and supplying that certs info to BrowserSync? https://blogjunkie.net/2017/04/enable-https-localhost-browsersync/

frankypixels commented 3 years ago

No I haven't. Looked up and down for something like this. Will try.