# How to use with https://localhost:3000

**URL:** https://discourse.roots.io/t/how-to-use-with-https-localhost-3000/20933
**Category:** sage
**Created:** 2021-06-10T23:26:43Z
**Posts:** 17
**Showing post:** 12 of 17

## Post 12 by @djmtype — 2021-06-11T16:08:22Z

Changing `1` back to `0` again, allowed me to view BS settings again, but still `https://localhost:3000` is deemed insecure on Chrome and Firefox.

```
if (url.parse(target).protocol === 'https:') {
  process.env.NODE_TLS_REJECT_UNAUTHORIZED = 0;

  config.proxyUrl = config.proxyUrl.replace('http:', 'https:');
}
```

---

_[View the full topic](https://discourse.roots.io/t/how-to-use-with-https-localhost-3000/20933)._
