bcremer / shopware-with-nginx

Running shopware using NGINX
http://shopware.com
BSD 2-Clause "Simplified" License
95 stars 46 forks source link

Enable support for HTTP/2 Server Push #47

Closed soebbing closed 5 years ago

soebbing commented 5 years ago

Shopware 5.6 implements support for HTTP/2 Server Push of resources like CSS and JS files. To support this feature in NGINX it is necessary activate the http2_push_preload directive. Please see https://www.nginx.com/blog/nginx-1-13-9-http2-server-push/ for details.

bcremer commented 5 years ago

NGINX 1.13.9 is not yet available in Debian Stable (stretch). While the majority of users might have installed NGINX via the official repostiory (http://nginx.org/en/linux_packages.html) it might be wise to have this options as a opt-in feature until Debian Buster get's released.

Can you please add the minimum Version as a comment above the new directives and have it commented out by default.

soebbing commented 5 years ago

Done!