Created
September 3, 2015 11:53
-
-
Save JamesPaden/7a020357e533f4ab31cd to your computer and use it in GitHub Desktop.
Apache Config for Wordpress Reverse Proxy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Put this inside the <VirtualHost> directive | |
<Location /blog> | |
RequestHeader set X-Is-Reverse=Proxy true | |
RequestHeader set X-Original-Host yourwebsite.com | |
ProxyPass http://yourpressableblog.com | |
ProxyPassReverse http://yourpressableblog.com | |
</Location> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@Antoinebr
Add ProxyPreserveHost On to config