From 3e19b4c8a3d49e010316d81b04f2624f93ed8686 Mon Sep 17 00:00:00 2001 From: Kaitlin Hegarty Date: Wed, 22 Jun 2016 13:59:46 -0600 Subject: [PATCH] workaround for "Expires" header in TileStache Use sed to add a comma after the day in the "Expires" header. This makes it RFC 1123 compliant. --- server/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/Dockerfile b/server/Dockerfile index fd8355b..5ae94cb 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -22,6 +22,8 @@ RUN apt-get update && apt-get install -y wget && \ COPY start-apache.sh /usr/bin/start-apache +RUN sed -i 's/%a/%a,/' /usr/lib/python2.7/dist-packages/TileStache/__init__.py + VOLUME /export/tile EXPOSE 80