bind to config option (default localhost)
[oweals/gnunet.git] / src / rest / rest.conf
index febc51486d29694ffca7b01e12248c4f30be2705..bef8cf473c2dec432830ffabe3dea8c1a6e23485 100644 (file)
@@ -1,3 +1,9 @@
 [rest]
+UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-rest.sock
 BINARY=gnunet-rest-server
+BIND_TO=127.0.0.1
+BIND_TO6=::1
 REST_PORT=7776
+REST_ALLOW_HEADERS=Authorization,Accept,Content-Type
+REST_ALLOW_ORIGIN=*
+REST_ALLOW_CREDENTIALS=true