aboutsummaryrefslogtreecommitdiff
path: root/src/service/rest/rest.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/service/rest/rest.conf')
-rw-r--r--src/service/rest/rest.conf14
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]
2UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-rest.sock
3BINARY=gnunet-rest-server
4IMMEDIATE_START=YES
5HTTP_PORT=7776
6BIND_TO=127.0.0.1
7BIND_TO6=::1
8REST_ALLOW_HEADERS=Authorization,Accept,Content-Type
9REST_ECHO_ORIGIN_WEBEXT=YES
10REST_ALLOW_ORIGIN=http://localhost:4200
11REST_ALLOW_CREDENTIALS=true
12RUN_PER_USER=NO
13BASIC_AUTH_SECRET_FILE=$GNUNET_DATA_HOME/rest/secret
14BASIC_AUTH_ENABLED=YES