Skip to content

Instantly share code, notes, and snippets.

@joppuyo
Created November 11, 2022 17:06
Show Gist options
  • Save joppuyo/eee4599a4fd6357acc9f02097514c3ab to your computer and use it in GitHub Desktop.
Save joppuyo/eee4599a4fd6357acc9f02097514c3ab to your computer and use it in GitHub Desktop.
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