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://www.fixcontainer.de,
https://fixcontainer.com
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://fixcontainer.com/%E0%B8%AD%E0%B8%AD%E0%B8%9F%E0%B8%9F%E0%B8%B4%E0%B8%A8%E0%B9%80%E0%B8%84%E0%B8%A5%E0%B8%B7%E0%B9%88%E0%B8%AD%E0%B8%99%E0%B8%97%E0%B8%B5%E0%B9%88.html
. If not, the proxy configuration could be wrong.
Shopware got following headers from IP 10.3.186.197
:
{
"Host": "fixcontainer.com",
"X-Forwarded-Host": "fixcontainer.com",
"X-Forwarded-Proto": "https",
"X-Forwarded-For": "10.3.186.197, 172.18.0.1"
}
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: '10.3.186.197'
# trust *all* "X-Forwarded-*" headers
trusted_headers: [ 'x-forwarded-host', 'x-forwarded-proto', 'x-forwarded-for', ]
For further information about Trusted Proxies and configuration and handling of load balancer, checkout the Symfony documentation