File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 88<config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:framework:ObjectManager/etc/config.xsd" >
99 <preference for =" Magefan\GeoIp\Api\IpToRegionRepositoryInterface" type =" Magefan\GeoIp\Model\IpToRegionRepository" />
1010 <preference for =" Magefan\GeoIp\Api\IpToCountryRepositoryInterface" type =" Magefan\GeoIp\Model\IpToCountryRepository" />
11- </config >
11+
12+ <type name =" Magento\Framework\HTTP\PhpEnvironment\RemoteAddress" >
13+ <arguments >
14+ <argument name =" alternativeHeaders" xsi : type =" array" >
15+ <item name =" x-client-ip" xsi : type =" string" >HTTP_X_REAL_IP</item >
16+ <item name =" x-cf-connecting-ip" xsi : type =" string" >HTTP_CF_CONNECTING_IP</item >
17+ </argument >
18+ </arguments >
19+ </type >
20+ </config >
You can’t perform that action at this time.
0 commit comments