Skip to content

Commit

Permalink
Enable gzip on requests
Browse files Browse the repository at this point in the history
Relates to #25
  • Loading branch information
jimmythompson committed Sep 11, 2016
1 parent 62483c7 commit e686436
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _env/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ http {
keepalive_timeout 65;
resolver 8.8.8.8 valid=5s;

gzip on;
gzip_types text/css application/json application/x-javascript text/javascript;

This comment has been minimized.

Copy link
@PeterJCLaw

PeterJCLaw Sep 11, 2016

Member

should we also support other compression types? (or does this do that for us?)

server {
listen 80;
server_name studentrobotics.org;
Expand Down

0 comments on commit e686436

Please sign in to comment.