Skip to content

Instantly share code, notes, and snippets.

@raymondfeng
Created November 18, 2014 16:26
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 raymondfeng/25f3dc5acd3ce60dc98f to your computer and use it in GitHub Desktop.
Save raymondfeng/25f3dc5acd3ce60dc98f to your computer and use it in GitHub Desktop.
{
"initial": {
"favicon": {
},
"compress": {
"params": {
}
}
},
"session": {
"session": {
"params": {
"saveUninitialized": true,
"resave": true,
"secret": "keyboard cat"
}
}
},
"routes": {
"./middleware/https-redirect": {
"params": {
"httpsPort": 3001
}
}
},
"routes:after": {
"./middleware/rate-limiting": {
"params": {
"limit": 100,
"interval": 60000
}
},
"./middleware/proxy": {
"params": {
"rules": [
"^/api/(.*)$ http://localhost:3002/api/$1 [P]"
]
}
}
},
"files": {
"static": [
{
"params": "../client/public",
"paths": ["/"]
},
{
"params": "../client/admin",
"paths": ["/admin"]
}
]
},
"final": {
"urlNotFound": {},
"errorHandler": {}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment