Created
July 15, 2011 15:27
-
-
Save hukl/1084904 to your computer and use it in GitHub Desktop.
Varnish Conf for local / subnet cache of ruby gems index
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
backend default { | |
.host = "production.s3.rubygems.org"; | |
.port = "80"; | |
} | |
sub vcl_recv { | |
set req.http.Host = "production.s3.rubygems.org"; | |
return(lookup); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment