From a625808afba16de276b76c14eaab5f800eb4fe25 Mon Sep 17 00:00:00 2001 From: Matthew Vaughn Date: Tue, 1 Nov 2016 21:50:50 +0000 Subject: [PATCH 1/2] Need to turn on headers module in Apache2 --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 9ede56f..42c74dc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -56,6 +56,7 @@ EXPOSE 80 # enable fcgid mod RUN a2enmod fcgid +RUN a2enmod headers # disable default site conf RUN sudo a2dissite 000-default.conf From 303e572c9ce8ebcf3b4b23f8a74006979d24ed63 Mon Sep 17 00:00:00 2001 From: Matthew Vaughn Date: Wed, 23 Nov 2016 20:06:36 +0000 Subject: [PATCH 2/2] Fixed header error --- 001-iipsrv.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/001-iipsrv.conf b/001-iipsrv.conf index 84008f2..2f7db15 100644 --- a/001-iipsrv.conf +++ b/001-iipsrv.conf @@ -31,9 +31,10 @@ # Set our environment variables for the IIP server FcgidInitialEnv VERBOSITY "10" + FcgidInitialEnv MAX_LAYERS "-1" FcgidInitialEnv LOGFILE "/tmp/iipsrv.log" - FcgidInitialEnv MAX_IMAGE_CACHE_SIZE "10" - FcgidInitialEnv JPEG_QUALITY "50" + FcgidInitialEnv MAX_IMAGE_CACHE_SIZE "1024" + FcgidInitialEnv JPEG_QUALITY "100" FcgidInitialEnv MAX_CVT "3000" FcgidInitialEnv FILESYSTEM_PREFIX "/var/www/localhost/images/"