Dear Visitor, you accessed Shopware 6 with an unknown Domain. This page provides guidance on common misconfigurations and how to resolve them.
Following URLs are known to Shopware: default.headless0, https://hsb-shop.web-preview.at/betriebsdatenerfassung, https://hsb-shop.web-preview.at/kunststoffverarbeitung, https://hsb-shop.web-preview.at/normalien, https://hsb-shop.web-preview.at/operating-data-acquisition, https://hsb-shop.web-preview.at/plastic-processing, https://hsb-shop.web-preview.at/standards, https://www.hsb-shop.de, https://www.hsb-shop.de/en,
https://hsb-shop.de
Symptoms: Cannot resolve a Sales Channel, Assets are loading with http instead of https.
Make sure the visible URL is the actual URL in your browser: https://hsb-shop.de/betriebsdatenerfassung/Widgets/OneShop2CS?key=3a4a8da701ccd1e598875177bd79d964&shop=4
. If not, the proxy configuration could be wrong.
Shopware got following headers from IP 18.220.210.111
:
{
"Host": "hsb-shop.de",
"X-Forwarded-Host": null,
"X-Forwarded-Proto": null,
"X-Forwarded-For": "18.220.210.111"
}
The trusted_proxy configuration could look like this:
# config/packages/framework.yaml
framework:
# You can use multiple with comma separated values or subnet notation (10.0.0.0/8)
trusted_proxies: '18.220.210.111'
# trust *all* "X-Forwarded-*" headers
trusted_headers: [ 'x-forwarded-for', ]
For further information about Trusted Proxies and configuration and handling of load balancer, checkout the Symfony documentation