Merge "Allow logs.o.o to server gzipped svg files"
This commit is contained in:
		@@ -21,7 +21,7 @@ NameVirtualHost <%= @vhost_name %>:<%= @port %>
 | 
				
			|||||||
  # use Apache to compress the results afterwards, to save on the wire
 | 
					  # use Apache to compress the results afterwards, to save on the wire
 | 
				
			||||||
  # it's approx 18x savings of wire traffic to compress. We need to
 | 
					  # it's approx 18x savings of wire traffic to compress. We need to
 | 
				
			||||||
  # compress by content types that htmlify can produce
 | 
					  # compress by content types that htmlify can produce
 | 
				
			||||||
  AddOutputFilterByType DEFLATE text/plain text/html application/x-font-ttf
 | 
					  AddOutputFilterByType DEFLATE text/plain text/html application/x-font-ttf image/svg+xml
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <FilesMatch \.html\.gz$>
 | 
					  <FilesMatch \.html\.gz$>
 | 
				
			||||||
    ForceType text/html
 | 
					    ForceType text/html
 | 
				
			||||||
@@ -42,6 +42,10 @@ NameVirtualHost <%= @vhost_name %>:<%= @port %>
 | 
				
			|||||||
    ForceType application/x-font-ttf
 | 
					    ForceType application/x-font-ttf
 | 
				
			||||||
    AddEncoding x-gzip gz
 | 
					    AddEncoding x-gzip gz
 | 
				
			||||||
  </FilesMatch>
 | 
					  </FilesMatch>
 | 
				
			||||||
 | 
					  <FilesMatch \.svg\.gz$>
 | 
				
			||||||
 | 
					    ForceType image/svg+xml
 | 
				
			||||||
 | 
					    AddEncoding x-gzip gz
 | 
				
			||||||
 | 
					  </FilesMatch>
 | 
				
			||||||
  <FilesMatch \.css$>
 | 
					  <FilesMatch \.css$>
 | 
				
			||||||
    # mod_mime_magic is sometimes passing css files as asm sources
 | 
					    # mod_mime_magic is sometimes passing css files as asm sources
 | 
				
			||||||
    # e.g css files generated by coverage reports
 | 
					    # e.g css files generated by coverage reports
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user