Skip to content

Instantly share code, notes, and snippets.

@riywo
Created September 23, 2015 14:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save riywo/d47f3dd2d2483a990bcc to your computer and use it in GitHub Desktop.
Save riywo/d47f3dd2d2483a990bcc to your computer and use it in GitHub Desktop.
<VirtualHost *>
ServerName blog.riywo.com
ProxyPreserveHost On
ProxyRequests off
<Proxy balancer://blog>
BalancerMember http://localhost:1313
BalancerMember http://blog.riywo.com.s3-website-us-west-2.amazonaws.com status=+H
</Proxy>
ProxyPass / balancer://blog/
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment