How to get dockerised Caddy to use self-signed certs for local dev with php-fpm SPA (VueJs)

Right you are… there were CORS headers in my Caddyfile!
So now I no longer have CORS errors. However…

  1. I’m still faced with the problem that the PHP session cookie is not being stored by the browser.

  2. I thought I’d try it on Firefox but despite what it says here: Generate certificate for local development - #2 by francislavoie, Firefox does not recognise the certificate (although Chrome and Safari) do.