From 33a268ae8172840cfe0f069b8c39cb4883808fac Mon Sep 17 00:00:00 2001 From: Francesco Siddi Date: Thu, 8 Oct 2015 15:16:00 +0200 Subject: [PATCH] Added libapache2-mod-xsendfile to production Dockerfile --- docker/pro/Dockerfile | 3 ++- pillar/config.py.example | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docker/pro/Dockerfile b/docker/pro/Dockerfile index 8714ec79..6bbb7ad3 100644 --- a/docker/pro/Dockerfile +++ b/docker/pro/Dockerfile @@ -16,7 +16,8 @@ libssl-dev \ libffi-dev \ software-properties-common \ apache2-mpm-event \ -libapache2-mod-wsgi +libapache2-mod-wsgi \ +libapache2-mod-xsendfile RUN add-apt-repository ppa:mc3man/trusty-media \ && apt-get update && apt-get install -y \ diff --git a/pillar/config.py.example b/pillar/config.py.example index 8dff2f37..fa9a38f0 100644 --- a/pillar/config.py.example +++ b/pillar/config.py.example @@ -14,6 +14,7 @@ class Development(Config): STORAGE_DIR = '{0}/application/static/storage'.format( os.path.join(os.path.dirname(__file__))) SHARED_DIR = '/storage/shared' + USE_X_SENDFILE = False PORT = 5000 HOST = '0.0.0.0' DEBUG = True