projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bind to config option (default localhost)
[oweals/gnunet.git]
/
src
/
rest
/
rest.conf
diff --git
a/src/rest/rest.conf
b/src/rest/rest.conf
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..bef8cf473c2dec432830ffabe3dea8c1a6e23485 100644
(file)
--- a/
src/rest/rest.conf
+++ b/
src/rest/rest.conf
@@
-0,0
+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