diff options
Diffstat (limited to 'src/service/rest/rest.conf')
-rw-r--r-- | src/service/rest/rest.conf | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/service/rest/rest.conf b/src/service/rest/rest.conf new file mode 100644 index 000000000..85c006c9b --- /dev/null +++ b/src/service/rest/rest.conf | |||
@@ -0,0 +1,14 @@ | |||
1 | [rest] | ||
2 | UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-rest.sock | ||
3 | BINARY=gnunet-rest-server | ||
4 | IMMEDIATE_START=YES | ||
5 | HTTP_PORT=7776 | ||
6 | BIND_TO=127.0.0.1 | ||
7 | BIND_TO6=::1 | ||
8 | REST_ALLOW_HEADERS=Authorization,Accept,Content-Type | ||
9 | REST_ECHO_ORIGIN_WEBEXT=YES | ||
10 | REST_ALLOW_ORIGIN=http://localhost:4200 | ||
11 | REST_ALLOW_CREDENTIALS=true | ||
12 | RUN_PER_USER=NO | ||
13 | BASIC_AUTH_SECRET_FILE=$GNUNET_DATA_HOME/rest/secret | ||
14 | BASIC_AUTH_ENABLED=YES | ||