Skip to content

Instantly share code, notes, and snippets.

@andersevenrud
Created March 21, 2016 20:56
Show Gist options
  • Select an option

  • Save andersevenrud/3650ff42a2ffe0e1b619 to your computer and use it in GitHub Desktop.

Select an option

Save andersevenrud/3650ff42a2ffe0e1b619 to your computer and use it in GitHub Desktop.
1: Ex, create `src/conf/900-custom.json`
{
"server": {
"proxies": {
"/foo": "http://somewhere-else",
"(regexp)/^\\/bar/": "http://somewhere-elsewhere"
}
}
}
Then run `grunt config`
2: Install with `npm install http-proxy`
3: Start server `./bin/start-dev.sh`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment