vendure-ecommerce / storefront-qwik-starter

An e-commerce storefront starter built with Qwik and Vendure
https://qwik-storefront.vendure.io
227 stars 86 forks source link

How to fix mixed content ? #165

Closed loganess closed 1 month ago

loganess commented 1 month ago

Hello,

I am using proxy for ssl termination and getting mixed contents issue, so all images can't be loaded. There is no issue if accessing using internal ip.

Anyone has idea how to fix it. Thank you.

ashishkpaul commented 1 month ago

On localhost or on a production server

loganess commented 1 month ago

on production server.

ashishkpaul commented 1 month ago

https://docs.vendure.io/reference/core-plugins/asset-server-plugin/asset-server-options#asseturlprefix

ashishkpaul commented 1 month ago

First check assetUrlPrefix: "https://storefront-domain.lan/assets/"

loganess commented 1 month ago

Great. I missed this. Thanks a lot.