summaryrefslogtreecommitdiffstats
path: root/lava-master/settings.conf
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2018-01-08 14:17:59 +0100
committerCorentin LABBE <clabbe@baylibre.com>2018-01-08 15:15:40 +0100
commit94a6a8e07e3d7e6c3233554dae2056687590b651 (patch)
treeef8bef989b370ac16445548618215d1abe0c152d /lava-master/settings.conf
parent83781cf3177ae2928221c424caeb2bd880d6cc6c (diff)
Disable CSRF cookie
When working with HTTP interface, it is impossible to login. Ths patch also document that in Readme.md
Diffstat (limited to 'lava-master/settings.conf')
-rw-r--r--lava-master/settings.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/lava-master/settings.conf b/lava-master/settings.conf
new file mode 100644
index 0000000..c809e2c
--- /dev/null
+++ b/lava-master/settings.conf
@@ -0,0 +1,16 @@
+{
+ "DEBUG": false,
+ "STATICFILES_DIRS": [
+ ["lava-server", "/usr/share/pyshared/lava_server/htdocs/"]
+ ],
+ "MEDIA_ROOT": "/var/lib/lava-server/default/media",
+ "ARCHIVE_ROOT": "/var/lib/lava-server/default/archive",
+ "STATIC_ROOT": "/usr/share/lava-server/static",
+ "STATIC_URL": "/static/",
+ "MOUNT_POINT": "/",
+ "HTTPS_XML_RPC": false,
+ "LOGIN_URL": "/accounts/login/",
+ "LOGIN_REDIRECT_URL": "/",
+ "CSRF_COOKIE_SECURE": false,
+ "SESSION_COOKIE_SECURE": false
+}