Skip to content

Commit

Permalink
update example to v0.0.2+ format
Browse files Browse the repository at this point in the history
  • Loading branch information
steve-jansen committed Aug 1, 2014
1 parent 2ec0a66 commit de9eb1c
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions examples/cli/json-proxy.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
{
"port": 8080,
"webroot": "$config_dir",
"html5mode": "/index.html",
"forward": {
"/channel": "https://www.youtube.com:443",
"/events/(.*)": "http://news.google.com/news/section?topic=$1",
"/news/": "http://news.google.com"
"server": {
"port": 8080,
"webroot": "$config_dir",
"html5mode": "/index.html"
},
"headers": {
"X-Remote-User": "John Doe"
"proxy": {
"forward": {
"/channel": "https://www.youtube.com:443",
"/events/(.*)": "http://news.google.com/news/section?topic=$1",
"/news/": "http://news.google.com"
},
"headers": {
"X-Remote-User": "John Doe"
}
}
}

0 comments on commit de9eb1c

Please sign in to comment.