applying css serving fix to taskotron production
This commit is contained in:
parent
1e6f6ebcf5
commit
6d8a04cfe9
1 changed files with 0 additions and 4 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue