Skip to content

Instantly share code, notes, and snippets.

@jerzyn
Created March 21, 2014 15:25
Show Gist options
  • Select an option

  • Save jerzyn/9688764 to your computer and use it in GitHub Desktop.

Select an option

Save jerzyn/9688764 to your computer and use it in GitHub Desktop.
Varnish - Configure the Module and VCL Script
import threescale;
set req.http.X-tmp = threescale.send_get_request_threaded(“su1.3scale.net”,“80”,req.url,"");
set req.http.X-tmp = threescale.send_get_request(“su1.3scale.net”,“80”,req.url,“X-ur-header: true;”);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment