Skip to content

Commit

Permalink
allow .gz files in prod nginx template. #392
Browse files Browse the repository at this point in the history
  • Loading branch information
schakrava committed Jul 31, 2015
1 parent d2cd6e3 commit d09a4b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conf/nginx-prod.conf.in
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ http {
location /site_media {
root /media/; # Notice this is the /media folder that we create above
}
location ~* ^.+\.(zip|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|tar|mid|midi|wav|bmp|rtf|mov) {
location ~* ^.+\.(zip|rar|bz2|doc|xls|exe|pdf|ppt|txt|tar|mid|midi|wav|bmp|rtf|mov) {
access_log off;
expires 30d;
}
Expand Down

0 comments on commit d09a4b4

Please sign in to comment.