From ea27dd917f147b26de00440a7ea8fe986cde21bd Mon Sep 17 00:00:00 2001
From: Eliot Berriot <contact@eliotberriot.com>
Date: Sun, 8 Apr 2018 20:26:48 +0200
Subject: [PATCH] Latest (hopefully) traefik tweaks
---
.env.dev | 2 +-
README.rst | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/.env.dev b/.env.dev
index 5a010cdf4..3f904078c 100644
--- a/.env.dev
+++ b/.env.dev
@@ -1,7 +1,7 @@
API_AUTHENTICATION_REQUIRED=True
RAVEN_ENABLED=false
RAVEN_DSN=https://44332e9fdd3d42879c7d35bf8562c6a4:0062dc16a22b41679cd5765e5342f716@sentry.eliotberriot.com/5
-DJANGO_ALLOWED_HOSTS=.funkwhale.test,localhost,nginx
+DJANGO_ALLOWED_HOSTS=.funkwhale.test,localhost,nginx,0.0.0.0,127.0.0.1
DJANGO_SETTINGS_MODULE=config.settings.local
DJANGO_SECRET_KEY=dev
C_FORCE_ROOT=true
diff --git a/README.rst b/README.rst
index f39baead6..747a1e220 100644
--- a/README.rst
+++ b/README.rst
@@ -281,3 +281,5 @@ When working on federation with traefik, ensure you have this in your ``env``::
WEBPACK_DEVSERVER_PORT_BINDING=
# This disable certificate verification
EXTERNAL_REQUESTS_VERIFY_SSL=false
+ # this ensure you don't have incorrect urls pointing to http resources
+ FUNKWHALE_PROTOCOL=https
--
GitLab