Good morning,
I have an issue with OpenLiteSpeed. My front proxy is nginx and it passes the trafic to OpenLiteSpeed, then OpenLiteSpeed pass it to Apache. At the nginx level, I'm crafting the correct X-Forwarded-For / X-Forwarded-Host / X-Forwarded-Proto for the request.
However, after passing to OpenLiteSpeed, OLS is alterating my X-Forwarded-For / X-Forwarded-Host / X-Forwarded-Proto headers, leading me to have multiple IP / Host in these headers at Apache level.
Instead of having X-Forwarded-For = 1.2.3.4, I have X-Forwarded-For = 192.162.68.203,127.0.0.1 ; and I have same behavior in X-Forwarded-Host.
After investigating, these headers are modified by OpenLiteSpeed. How can I disable entirely the modification of X-Forwarded-For / X-Forwarded-Host / X-Forwarded-Proto in OpenLiteSpeed configuration file?
I have an issue with OpenLiteSpeed. My front proxy is nginx and it passes the trafic to OpenLiteSpeed, then OpenLiteSpeed pass it to Apache. At the nginx level, I'm crafting the correct X-Forwarded-For / X-Forwarded-Host / X-Forwarded-Proto for the request.
However, after passing to OpenLiteSpeed, OLS is alterating my X-Forwarded-For / X-Forwarded-Host / X-Forwarded-Proto headers, leading me to have multiple IP / Host in these headers at Apache level.
Instead of having X-Forwarded-For = 1.2.3.4, I have X-Forwarded-For = 192.162.68.203,127.0.0.1 ; and I have same behavior in X-Forwarded-Host.
After investigating, these headers are modified by OpenLiteSpeed. How can I disable entirely the modification of X-Forwarded-For / X-Forwarded-Host / X-Forwarded-Proto in OpenLiteSpeed configuration file?