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, http://events.react-swiss.com, https://staging.events.react-swiss.com, https://staging.optrel.com/at/de, https://staging.optrel.com/ch/de, https://staging.optrel.com/ch/fr, https://staging.optrel.com/de/de, https://staging.optrel.com/en/en, https://staging.optrel.com/es/es, https://staging.optrel.com/fr/fr, https://staging.optrel.com/gb/en, https://staging.optrel.com/nl/nl, https://staging.optrel.com/pl/pl, https://staging.optrel.com/ru/ru, https://staging.react-swiss.com/at/de, https://staging.react-swiss.com/at/en, https://staging.react-swiss.com/ch/de, https://staging.react-swiss.com/ch/en, https://staging.react-swiss.com/ch/fr, https://staging.react-swiss.com/de/de, https://staging.react-swiss.com/de/en, https://staging.react-swiss.com/en/en,
https://staging.optrel.comSymptoms: 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.optrel.com/. If not, the proxy configuration could be wrong.
Shopware got following headers from IP 216.73.217.71:
{
"Host": "staging.optrel.com",
"X-Forwarded-Host": null,
"X-Forwarded-Proto": null,
"X-Forwarded-For": "216.73.217.71"
}
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.217.71'
# 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