Skip to content

Instantly share code, notes, and snippets.

@arosenhagen
Created October 21, 2021 09:56
Show Gist options
  • Save arosenhagen/0b8ab89f9eec00981a001b8137748daa to your computer and use it in GitHub Desktop.
Save arosenhagen/0b8ab89f9eec00981a001b8137748daa to your computer and use it in GitHub Desktop.
diff --git a/DependencyInjection/services.xml b/vendor/shopware/storefront/DependencyInjection/services.xml
index 63457b84..cbf8e564 100644
--- a/DependencyInjection/services.xml
+++ b/DependencyInjection/services.xml
@@ -23,11 +23,12 @@
<parameter>https</parameter>
<parameter>forwarded</parameter>
<parameter>host</parameter>
- <parameter>x_forwarded_for</parameter>
- <parameter>x_forwarded_host</parameter>
- <parameter>x_forwarded_proto</parameter>
- <parameter>x_forwarded_port</parameter>
- <parameter>x_forwarded_prefix</parameter>
+ <parameter>remote_addr</parameter>
+ <parameter>http_x_forwarded_for</parameter>
+ <parameter>http_x_forwarded_host</parameter>
+ <parameter>http_x_forwarded_proto</parameter>
+ <parameter>http_x_forwarded_port</parameter>
+ <parameter>http_x_forwarded_prefix</parameter>
</parameter>
</parameters>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment