/[adm]/puppet/deployment/websites/templates/vhost_static.conf
ViewVC logotype

Annotation of /puppet/deployment/websites/templates/vhost_static.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1010 - (hide annotations) (download)
Fri Feb 11 16:46:37 2011 UTC (13 years, 5 months ago) by boklm
File size: 1026 byte(s)
add vhost for static.mageia.org
1 boklm 1010 <VirtualHost *:80>
2     ServerName static.<%= domain %>
3    
4     DocumentRoot <%= vhostdir %>
5     CustomLog /var/log/httpd/static_log combined
6     ErrorLog /var/log/httpd/error_static_log
7    
8     FileETag none
9     Header unset ETag
10         ExpiresActive On
11         ExpiresByType text/css "access plus 1 month"
12        ExpiresByType image/gif "access plus 2 months"
13        ExpiresByType image/png "access plus 2 months"
14        ExpiresByType image/jpeg "access plus 2 months"
15        ExpiresByType image/x-icon "access plus 2 months"
16        ExpiresByType application/x-javascript "access plus 1 month"
17        ExpiresByType text/javascript "access plus 1 month"
18        AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css
19        AddOutputFilterByType DEFLATE application/json text/javascript application/javascript application/x-javascript
20    
21     <Location />
22     Allow from all
23     </Location>
24    
25     <Directory <%= vhostdir %>>
26     Order deny,allow
27     Allow from All
28     AllowOverride None
29     </Directory>
30     </VirtualHost>

  ViewVC Help
Powered by ViewVC 1.1.30