From a37548e1b4ee066607bbc1cfca92b1a66c8e386d Mon Sep 17 00:00:00 2001 From: Randy Sargent Date: Wed, 2 Oct 2019 10:47:19 -0400 Subject: [PATCH] Added new apache data config for docker --- .../earthtime-data-apache-vhost-env.conf | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 examples/webgl-timemachine/example-configs/earthtime-data-apache-vhost-env.conf diff --git a/examples/webgl-timemachine/example-configs/earthtime-data-apache-vhost-env.conf b/examples/webgl-timemachine/example-configs/earthtime-data-apache-vhost-env.conf new file mode 100644 index 00000000..a11757ae --- /dev/null +++ b/examples/webgl-timemachine/example-configs/earthtime-data-apache-vhost-env.conf @@ -0,0 +1,31 @@ +# Example apache configuration, for EarthTime tile data serving +# +# To install, +# +# 1. Copy file and customize paths +# +# 2. Symlink into /etc/apache2/sites-enabled +# +# 3. Restart apache: +# +# sudo apachectl graceful +# + +Define ROOTPATH ${ROOTDIR} + + + ServerName ${TILES_SERVERNAME} + DocumentRoot ${ROOTPATH}/app/data + Options FollowSymLinks + + Header always set Access-Control-Allow-Origin "*" + + + AddOutputFilterByType DEFLATE application/octet-stream + AddOutputFilterByType DEFLATE application/json + AddOutputFilterByType DEFLATE text/csv + + AllowOverride None + Require all granted + +