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://stage.precitec-shop.com, http://stage.precitec-shop.de, http://stage.shop.precitec.com, http://stage.shop.precitec.com/en, https://stage.precitec-shop.com, https://stage.precitec-shop.de, https://stage.shop.precitec.com, https://stage.shop.precitec.com/en, https://stage.shop.precitec.com/usa,
https://php-apache.stage.shopware.precitec.intelego.cloudSymptoms: 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://php-apache.stage.shopware.precitec.intelego.cloud/. If not, the proxy configuration could be wrong.
Shopware got following headers from IP 216.73.216.132:
{
"Host": "php-apache.stage.shopware.precitec.intelego.cloud",
"X-Forwarded-Host": "php-apache.stage.shopware.precitec.intelego.cloud",
"X-Forwarded-Proto": "https",
"X-Forwarded-For": "216.73.216.132, 172.18.0.9"
}
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.132'
# 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