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: http://www.gb-media.biz, https://www.gb-media.biz,
https://gb-media.biz
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://gb-media.biz/de/tutorials-snippets/php-8.2-fpm-auf-ubuntu-installieren-und-in-ngnix-weberver-einrichten.html
. If not, the proxy configuration could be wrong.
Shopware got following headers from IP 3.15.6.118
:
{
"Host": "gb-media.biz",
"X-Forwarded-Host": null,
"X-Forwarded-Proto": null,
"X-Forwarded-For": "3.15.6.118"
}
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: '3.15.6.118'
# 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