Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Deniz073's avatar

Mixed content error DigitalOcean App platform

I have a Laravel project that has a react frontend with the help of Inertia. So because i also havo node dependencies my build script looks like this: composer install php artisan migrate --force npm ci npm run build And the website loads, so no 500 internal server erros or something, but i am greeted with a blank screen and the following error in my console: Mixed Content: The page at 'https://walrus-app-6767c.ondigitalocean.app/login' was loaded over HTTPS, but requested an insecure stylesheet 'http://walrus-app-6767c.ondigitalocean.app/build/assets/app-6730c07e.css'. This request has been blocked; the content must be served over HTTPS. Since this is my first time deploying a website, i dont know how to fix this error sadly. Any help and or suggestions would be very much appreciated.

0 likes
3 replies
alexleo's avatar

@foysal-kodeeo Change the value of APP_ENV and APP_URL in App Spec section

Please or to participate in this conversation.