libravatar: enable client caching for static/img
This commit is contained in:
parent
4659d4ae7d
commit
09637fadd7
1 changed files with 8 additions and 0 deletions
|
@ -12,6 +12,14 @@ RewriteEngine on
|
|||
|
||||
Alias "/nobody" "/srv/libravatar/static/img/nobody"
|
||||
|
||||
<Directory /srv/libravatar/static/img>
|
||||
<IfModule mod_expires.c>
|
||||
ExpiresActive On
|
||||
ExpiresDefault "A86400"
|
||||
Header merge "Cache-Control" "public"
|
||||
</IfModule>
|
||||
</Directory>
|
||||
|
||||
<VirtualHost *:80>
|
||||
ServerName {{ server_name }}
|
||||
ServerAlias {{ server_redirect_name }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue