diff --git a/rootfs/usr/local/etc/docker/init.d/zz-ifconfig.sh b/rootfs/usr/local/etc/docker/init.d/zz-ifconfig.sh index 4e90f84..44af957 100755 --- a/rootfs/usr/local/etc/docker/init.d/zz-ifconfig.sh +++ b/rootfs/usr/local/etc/docker/init.d/zz-ifconfig.sh @@ -120,9 +120,10 @@ SERVICE_GID="0" # set the group id # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # execute command variables - keep single quotes variables will be expanded later EXEC_CMD_BIN='ifconfig' # command to execute -EXEC_CMD_ARGS='-H x-forwarded-for -r -s -p ' # command arguments +EXEC_CMD_ARGS='-r -s -p ' # command arguments EXEC_CMD_ARGS+='-l $SERVICE_PORT -t /opt/echoip/html ' # command arguments -EXEC_CMD_ARGS+='--trusted-header CF-Connecting-IP' +EXEC_CMD_ARGS+='--trusted-header CF-Connecting-IP ' # command arguments +EXEC_CMD_ARGS+='-H x-forwarded-for -H X-Real-IP ' # command arguments EXEC_CMD_ARGS+='-a /opt/echoip/geoip/GeoLite2-ASN.mmdb ' # command arguments EXEC_CMD_ARGS+='-c /opt/echoip/geoip/GeoLite2-City.mmdb ' # command arguments EXEC_CMD_ARGS+='-f /opt/echoip/geoip/GeoLite2-Country.mmdb ' # command arguments