Permalink
Browse files

Add get-score service to Apache2 config.

  • Loading branch information...
1 parent 1f66cc0 commit 6c3103a1a9bcb7fb1e213c71df5ab9fb8b891740 @bvds committed Dec 10, 2011
Showing with 9 additions and 0 deletions.
  1. +9 −0 andes-server.conf
View
@@ -11,6 +11,15 @@
ErrorDocument 502 "{\"jsonrpc\": \"2.0\", \"error\": {\"code\": 502, \"message\": \"Andes help server: proxy error\"}, \"id\": null}"
ErrorDocument 503 "{\"jsonrpc\": \"2.0\", \"error\": {\"code\": 503, \"message\": \"Andes help server: Service Temporarily Unavailable\"}, \"id\": null}"
</Location>
+
+<Location /get-score>
+ ProxyPass http://localhost:8080/get-score
+ ProxyPassReverse http://localhost:8080/get-score
+ ErrorDocument 502 "{\"jsonrpc\": \"2.0\", \"error\": {\"code\": 502, \"message\": \"Andes help server: proxy error\"}, \"id\": null}"
+ ErrorDocument 503 "{\"jsonrpc\": \"2.0\", \"error\": {\"code\": 503, \"message\": \"Andes help server: Service Temporarily Unavailable\"}, \"id\": null}"
+ setenv proxy-initial-not-pooled 1
+ </Location>
+
<Location /dashboard>
ProxyPass http://localhost:8080/dashboard
ProxyPassReverse http://localhost:8080/dashboard

0 comments on commit 6c3103a

Please sign in to comment.