diff --git a/conf/nginx.conf b/conf/nginx.conf index a9fb919..fd5711b 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -47,6 +47,11 @@ location ^~ __PATH__/ { # with the `ngx_pagespeed` module, uncomment this line to disable it. #pagespeed off; + # The settings allows you to optimize the HTTP2 bandwitdth. + # See https://blog.cloudflare.com/delivering-http-2-upload-speed-improvements/ + # for tunning hints + client_body_buffer_size 512k; + # Remove X-Powered-By, which is an information leak fastcgi_hide_header X-Powered-By;