webstraxt / m2-better-ips
A tiny little module to tell Magento to use different headers when determining the user's IP address
Installs: 522
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento2-module
pkg:composer/webstraxt/m2-better-ips
Requires
- magento/framework: *
README
A tiny little module to tell Magento to use different headers when determining the user's IP address.
The following headers will be checked in this order:
HTTP_CF_CONNECTING_IPHTTP_X_REAL_IPHTTP_X_FORWARDED_FOR
By default, Magento then falls back to using the REMOTE_ADDR header.
To install:
composer require webstraxt/m2-better-ipsphp bin/magento module:enable Webstraxt_BetterIPsphp bin/magento setup:upgrade
Copyright (C) 2024 Webstraxt Limited