~libravatar/libravatar/master

« back to all changes in this revision

Viewing changes to config/seccdn.apache2.conf

  • Committer: Francois Marier
  • Date: 2011-05-26 11:43:11 UTC
  • Revision ID: git-v1:1745d3c2d975c30525651559d1f0e20e38878fc7
Move js and css to -www and split images between -www and -cdn-common

Javascript and CSS files should be tied to the web application version
and not depend on mirrors to be up to date.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
    Include /etc/libravatar/cdn-common.include
20
20
 
 
21
    # Explicitly make SSL images cachable
21
22
    <Directory /var/lib/libravatar/avatar>
22
23
        Header set Cache-Control "public"
23
24
    </Directory>
 
25
    <Directory /usr/share/libravatar/static/cdn>
 
26
        Header append Cache-Control "public"
 
27
    </Directory>
24
28
 
25
29
    ErrorLog /var/log/libravatar/error-seccdn.log
26
30
    LogLevel notice