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: :///stagingdefault.headless0, http://www.holz-service-24.de/staging, https://holz-serivce-24.at/staging, https://holz-service-24.ch/staging, https://hout-service-24.be/staging, https://hout-service-24.nl/staging, https://service-bois-24.fr/staging, https://service-bois-24.lu/staging, https://www.holz-service-24.at/staging, https://www.holz-service-24.ch/staging, https://www.holz-service-24.de/staging, https://www.hout-service-24.be/staging, https://www.hout-service-24.nl/staging, https://www.service-bois-24.fr/staging, https://www.service-bois-24.lu/staging,
https://staging.holz-service-24.deSymptoms: 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://staging.holz-service-24.de/. If not, the proxy configuration could be wrong.
Shopware got following headers from IP 216.73.216.155:
{
"Host": "staging.holz-service-24.de",
"X-Forwarded-Host": null,
"X-Forwarded-Proto": null,
"X-Forwarded-For": "216.73.216.155"
}
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: '216.73.216.155'
# 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