Permalink
Browse files

nginx: enable HTTP2

This reduces the load time from 755ms to 554ms. The rendering time is
not reduced, for that we need to optimize other aspects of page loading.
  • Loading branch information...
stapelberg committed Jun 28, 2016
1 parent 722b408 commit e65763a6bc5c53882244b070e69322804da9d63e
Showing with 2 additions and 2 deletions.
  1. +2 −2 nginx.example
View
@@ -49,8 +49,8 @@ server {
}
server {
- listen 443 ssl;
- listen [::]:443 ssl ipv6only=on;
+ listen 443 ssl http2;
+ listen [::]:443 ssl http2 ipv6only=on;
ssl_certificate /etc/letsencrypt/live/codesearch.debian.net/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/codesearch.debian.net/privkey.pem;

0 comments on commit e65763a

Please sign in to comment.