diff options
| author | iwakeh <iwakeh@torproject.org> | 2017-08-22 07:41:02 +0000 |
|---|---|---|
| committer | iwakeh <iwakeh@torproject.org> | 2017-08-22 07:41:02 +0000 |
| commit | bd86130b0608ee9fb3cb17e8dd180af752a80465 (patch) | |
| tree | 685c1e28098b45474a7fd8d6698001b92e0a7338 | |
| parent | 23bf1292718eac23c4c09daf0c2d10dcda333ca5 (diff) | |
Limit Onionoo's listening to localhost.task-23211
Implements task-23211.
| -rw-r--r-- | INSTALL.md | 5 | ||||
| -rw-r--r-- | src/main/resources/jetty.xml | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -117,6 +117,11 @@ By default, Onionoo is configured to run the updater hourly and provide the web pages on http://localhost:8080/. The exact timing for the hourly update runs is logged at start-up. +Onionoo's Jetty configuration is done in 'jetty.xml', which can be replaced +in the war-file. +All configuration options can be found at +```http://www.eclipse.org/jetty/documentation/``` +The build.xml file contains Onionoo's current jetty version. ### Performing the initial run diff --git a/src/main/resources/jetty.xml b/src/main/resources/jetty.xml index f2dce3d..3e53131 100644 --- a/src/main/resources/jetty.xml +++ b/src/main/resources/jetty.xml @@ -27,6 +27,7 @@ <Ref id="server"/> </Arg> <Set name="port">8080</Set> + <Set name="host">127.0.0.1</Set> </New> </Arg> </Call> |
