summaryrefslogtreecommitdiffstats
path: root/roles/taskotron
diff options
context:
space:
mode:
authorTim Flink <tflink@fedoraproject.org>2017-06-06 11:54:44 +0000
committerTim Flink <tflink@fedoraproject.org>2017-06-06 11:54:52 +0000
commit6d8a04cfe9382487a338ed9f0c9eb27858c7b4ab (patch)
tree535e14bfc65cbaf18d34e27d852d4fd8cc1c6752 /roles/taskotron
parent1e6f6ebcf526f3df21c62c26781a5e5d94b23a5e (diff)
downloadansible-6d8a04cfe9382487a338ed9f0c9eb27858c7b4ab.tar.gz
ansible-6d8a04cfe9382487a338ed9f0c9eb27858c7b4ab.tar.xz
ansible-6d8a04cfe9382487a338ed9f0c9eb27858c7b4ab.zip
applying css serving fix to taskotron production
Diffstat (limited to 'roles/taskotron')
-rw-r--r--roles/taskotron/taskotron-master/templates/artifacts.conf.j24
1 files changed, 0 insertions, 4 deletions
diff --git a/roles/taskotron/taskotron-master/templates/artifacts.conf.j2 b/roles/taskotron/taskotron-master/templates/artifacts.conf.j2
index 41727887d..5262dc0d8 100644
--- a/roles/taskotron/taskotron-master/templates/artifacts.conf.j2
+++ b/roles/taskotron/taskotron-master/templates/artifacts.conf.j2
@@ -32,11 +32,9 @@ ExtFilterDefine gz-to-html mode=output \
intype=application/x-gzip outtype=text/html \
cmd="/bin/gunzip -c -"
-{% if deployment_type in ['dev', 'stg'] %}
ExtFilterDefine gz-to-css mode=output \
intype=application/x-gzip outtype=text/css \
cmd="/bin/gunzip -c -"
-{% endif %}
<DirectoryMatch "^{{ public_artifacts_dir }}/all/(.+)/task_output/">
RewriteEngine on
@@ -50,11 +48,9 @@ cmd="/bin/gunzip -c -"
<FilesMatch "(?!html)">
SetOutputFilter gz-to-plain
</FilesMatch>
-{% if deployment_type in ['dev', 'stg'] %}
<FilesMatch "(?!css)">
SetOutputFilter gz-to-css
</FilesMatch>
-{% endif %}
<FilesMatch "(\.html\.gz|\.html)$">
SetOutputFilter gz-to-html
</FilesMatch>