Add the Forwarded-Host header
How can I add the Forwarded-Host header?
For security reasons, I need to add the Forwarded-Host header to my website, but I have no idea how to implement this.
In the file called rewrite.rules I added the code (dispatcher > conf.d > rewrites > rewrite.rules):
<IfModule mod_headers.c>
RequestHeader set Forwarded-Host "%{Host}e" env=Host
</IfModule>
But it didn't solve my problem of adding the Forwarded-Host.
But it didn't solve my problem of adding the Forwarded-Host.