Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 e65763a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nginx.example
Expand Up @@ -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;
Expand Down

0 comments on commit e65763a

Please sign in to comment.