DEV Community

Discussion on: How to Enable SSL for Local Laravel Sail Development using Caddy and Docker

Collapse
stradivario profile image
Kristiqn Tachev

Hi Man!

Sorry that it sounds like that but no i am not.

Have you try adding secure origin to chrome flags?

chrome://flags/#unsafely-treat-insecure-origin-as-secure

or maybe running firefox

devtools.serviceWorkers.testing.enabled

There's an exception to the HTTPS requirement in place to facilitate local development: if you access your page and service worker script via localhost[:port], or via 127.x.y.z[:port], then service workers should be enabled without any further actions

Does this sound like a trolling ? :)

You made it possible by hard way which is for running it on the server certified but there is a way to do it without introducing these flows.

Cheers

Thread Thread
adrianmejias profile image
Adrian Mejias Author • Edited on

I was absolutely not asking for your help. dev.to/aspittel/comment/7d5a

Just push your comment out and let the community read upon it.

Also, if anyone isn't signed up for Hacktoberfest, you can do so here: hacktoberfest.digitalocean.com/