Sudden Mixed Content Blocking

Hello Hillel,

I have been running white labled invoice ninja v2.9.5 this year without issue, it’s been great! But I just started having problems with mixed content warnings and blocked insecure content in my web browsers. Funny thing is I have done no updates to the server or invoice ninja, so I don’t know what has changed.

Everything that is blocked comes out of the public folder which I have properly redirected in the htaccess. I am also running in a subdomain i.e. My logs in storage are not updating so no clues there. if I change the env file https=true, nothing loads at all.

Do you have any suggestions?

I’m not sure… are you running your site using HTTPS with a valid certificate?

Interesting, actually the sub-domain is not on the certificate. It had been running fine as but maybe that has something to do with it. I will update the certificate to see if it helps.

Is it worth adding something like this to the htaccess file in public?

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteCond %{REQUEST_URI} somefolder
RewriteRule ^(.*)$$1 [R,L]

I don’t know, you’ll need to try it.