Skip to content

Instantly share code, notes, and snippets.

@rkrx
Created March 17, 2017 19:07
Show Gist options
  • Save rkrx/61656d0103126a9683b47d9f9eabdd22 to your computer and use it in GitHub Desktop.
Save rkrx/61656d0103126a9683b47d9f9eabdd22 to your computer and use it in GitHub Desktop.
RemoteIPHeader X-Real-IP
RemoteIPTrustedProxy 127.0.0.1 192.168.122.1
SetEnvIf X-Forwarded-Proto "^https$" HTTPS=on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment