diff options
author | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2019-03-09 15:58:45 +0100 |
---|---|---|
committer | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2019-03-09 15:58:45 +0100 |
commit | fed55fd466b43dc0175a12a1a475e43747da137a (patch) | |
tree | 2082f86b9db158374a9f7283cd2004bbd942e090 /src/rest/rest.conf | |
parent | 5ffc8cb3dd59bb3f12b26413f22d00fc607d04ef (diff) | |
download | gnunet-fed55fd466b43dc0175a12a1a475e43747da137a.tar.gz gnunet-fed55fd466b43dc0175a12a1a475e43747da137a.zip |
bind to config option (default localhost)
Diffstat (limited to 'src/rest/rest.conf')
-rw-r--r-- | src/rest/rest.conf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rest/rest.conf b/src/rest/rest.conf index 138751696..bef8cf473 100644 --- a/src/rest/rest.conf +++ b/src/rest/rest.conf | |||
@@ -1,6 +1,8 @@ | |||
1 | [rest] | 1 | [rest] |
2 | UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-rest.sock | 2 | UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-rest.sock |
3 | BINARY=gnunet-rest-server | 3 | BINARY=gnunet-rest-server |
4 | BIND_TO=127.0.0.1 | ||
5 | BIND_TO6=::1 | ||
4 | REST_PORT=7776 | 6 | REST_PORT=7776 |
5 | REST_ALLOW_HEADERS=Authorization,Accept,Content-Type | 7 | REST_ALLOW_HEADERS=Authorization,Accept,Content-Type |
6 | REST_ALLOW_ORIGIN=* | 8 | REST_ALLOW_ORIGIN=* |