[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [exonerator/master] Make Jetty listen host configurable.
commit c6f7b83915888c9b4b61a8aa6ae39ec1b2248b71
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date: Mon Sep 30 17:43:22 2019 +0200
Make Jetty listen host configurable.
The default listen host is still 127.0.0.1, but now it's possible to
configure a different listen host, like 0.0.0.0, which can facilitate
local testing.
---
src/main/resources/jetty.xml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/main/resources/jetty.xml b/src/main/resources/jetty.xml
index e1e4d4d..56887f7 100644
--- a/src/main/resources/jetty.xml
+++ b/src/main/resources/jetty.xml
@@ -75,7 +75,9 @@
<Set name="port">
<SystemProperty name="exonerator.jetty.port" default="8080" />
</Set>
- <Set name="host">127.0.0.1</Set>
+ <Set name="host">
+ <SystemProperty name="exonerator.jetty.host" default="127.0.0.1" />
+ </Set>
</New>
</Arg>
</Call>
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits