Nginx Disable Overwriting host to http_host

532 Views Asked by At

Nginx by default overwrites the $host property to $http_host if the http host header is present. Is there a way to disable this behavior?
I want to prevent host-header injection by disabling this behavior.

0

There are 0 best solutions below