]> ruin.nu Git - ndwebbie.git/blobdiff - apache-conf.conf
Don't need List::Util for min()
[ndwebbie.git] / apache-conf.conf
index 0623fbbf6d2d2417c30eb6e775375db115d55c52..f00ba42c257f8e7f5df8cc3feb2d5b3b0d39bab8 100644 (file)
@@ -24,7 +24,6 @@
        </IfModule>
 
        Alias /static /var/www/ndawn/root/static
-       Alias /favicon.ico /var/www/ndawn/root/favicon.ico
        Alias /robots.txt /var/www/ndawn/root/robots.txt
 
        FastCgiExternalServer /tmp/ndwebpub.fcgi -socket /tmp/ndweb.socket
@@ -93,7 +92,6 @@ NameVirtualHost *:443
        </IfModule>
 
        Alias /static /var/www/ndawn/root/static
-       Alias /favicon.ico /var/www/ndawn/root/favicon.ico
        Alias /robots.txt /var/www/ndawn/root/robots.txt
 
        FastCgiExternalServer /tmp/ndweb.fcgi -socket /tmp/ndweb.socket
@@ -112,6 +110,7 @@ NameVirtualHost *:443
                #ExpiresByType text/css "access plus 1 week"
                #ExpiresByType application/javascript "access plus 1 week"
                #ExpiresByType image/png "access plus 1 week"
+               Header append Cache-Control "public"
 
                AddOutputFilterByType DEFLATE text/html
                AddOutputFilterByType DEFLATE text/xml