Skip to content

Instantly share code, notes, and snippets.

@joppuyo
Created Nov 11, 2022
Embed
What would you like to do?
Previous apache config
<IfModule mod_setenvif.c>
SetEnvIf X-Forwarded-Host (.*) REAL_HOST_HEADER=$1
<IfModule mod_headers.c>
RequestHeader set Host "%{REAL_HOST_HEADER}e"
# Header set X-Debug-Host "%{REAL_HOST_HEADER}e"
</IfModule>
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment