forked from infra/ansible
Compare commits
1 commit
4af6011bb8
...
ac57bbb2ea
| Author | SHA1 | Date | |
|---|---|---|---|
| ac57bbb2ea |
1 changed files with 7 additions and 0 deletions
|
|
@ -3,5 +3,12 @@ Alias /lookaside /srv/cache/lookaside
|
|||
Options Indexes FollowSymLinks
|
||||
AllowOverride None
|
||||
Require all granted
|
||||
|
||||
{% if env == 'staging' %}
|
||||
# Disable global mod_deflate for lookaside cache
|
||||
# to prevent double-compression and false gzip headers
|
||||
SetEnv no-gzip 1
|
||||
SetEnv dont-vary 1
|
||||
{% endif %}
|
||||
</Directory>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue