Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix redis configuration variables

  • Loading branch information...
commit 5275937ebe11131751356f346a299099005cccc2 1 parent 2eef572
Jérôme Petazzoni jpetazzo authored
9 README.md
View
@@ -49,10 +49,8 @@ backend.
"cert": "/etc/ssl/ssl.crt"
}
},
- "redis": {
- "port": 6379,
- "host": "127.0.0.1"
- }
+ "redisHost": "127.0.0.1",
+ "redisPort": 6379
}
* __server.accessLog__: location of the Access logs, the format is the same as
@@ -65,7 +63,8 @@ each backend (per worker)
* __server.deadBackendTTL__: The number of seconds a backend is flagged as
`dead' before retrying to proxy another request to it
* __server.https__: SSL configuration (omit this section to disable HTTPS)
-* __redis__: Redis configuration (host & port)
+* __redisHost__ and __redisPort__: Redis configuration (you can omit those
+parameters to use the local redis on the default port)
### 3. Spawn the server
6 config/config.json
View
@@ -15,8 +15,6 @@
"cert": "/etc/ssl/ssl.crt"
}
},
- "redis": {
- "port": 6379,
- "host": "127.0.0.1"
- }
+ "redisHost": "127.0.0.1",
+ "redisPort": 6379
}
4 config/config_dev.json
View
@@ -14,9 +14,5 @@
"size": 5,
"ttl": 5
}
- },
- "redis": {
- "port": 6379,
- "host": "127.0.0.1"
}
}
4 config/config_test.json
View
@@ -10,9 +10,5 @@
"retryOnError": 0,
"deadBackendOn500": true,
"httpKeepAlive": false
- },
- "redis": {
- "port": 6379,
- "host": "127.0.0.1"
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.