Skip to content

Instantly share code, notes, and snippets.

@nottrobin
Last active August 29, 2015 14:27
Show Gist options
  • Select an option

  • Save nottrobin/2144ab9629bba76c29f2 to your computer and use it in GitHub Desktop.

Select an option

Save nottrobin/2144ab9629bba76c29f2 to your computer and use it in GitHub Desktop.
Apache config to send proxy headers to a reverseproxy
<VirtualHost *:443>
...
RequestHeader set X-Forwarded-Proto &#39;https&#39; env=HTTPS
ProxyPass / http://10.0.0.3/
ProxyPassReverse / http://10.0.0.3/
...
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment