|
|
@ -19,4 +19,21 @@ |
|
|
|
WSGIDaemonProcess mumble-django threads=25 |
|
|
|
WSGIProcessGroup mumble-django |
|
|
|
WSGIScriptReloading Off |
|
|
|
|
|
|
|
# Cache optimization - not necessarily needed for MD, but nice to have :) |
|
|
|
FileETag None |
|
|
|
<IfModule mod_headers.c> |
|
|
|
Header unset ETag |
|
|
|
|
|
|
|
<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$"> |
|
|
|
Header set Cache-Control "max-age=86400, must-revalidate" |
|
|
|
</FilesMatch> |
|
|
|
|
|
|
|
<IfModule mod_deflate.c> |
|
|
|
# compress content |
|
|
|
AddOutputFilterByType DEFLATE text/html text/plain text/css text/javascript image/png image/jpeg image/gif |
|
|
|
# properly handle requests coming from behind proxies |
|
|
|
Header append Vary User-Agent |
|
|
|
</IfModule> |
|
|
|
</IfModule> |
|
|
|
</VirtualHost> |