7 months ago

Laravel Forge Load Balancer Problems

Posted 7 months ago by Drfraker

I added a load balancer to my server stack using forge. Now with each page load all of the forms in the page have unsecure urls. this is the error that is showing up in the console.

Mixed Content: The page at 'https://domain.com/clients' was loaded over a secure connection, but contains a form that targets an insecure endpoint 'http://domain.com/userSettings/update'. This endpoint should be made available over a secure connection.

I have set up the TrustProxy middleware and added the IP address of the load balancer to it, but it still is not working. Any advice?

Please sign in or create an account to participate in this conversation.