Adding support for http2_push_preload to nginx 1.13.9+ configuration
This commit is contained in:
@@ -81,6 +81,9 @@ server {
|
||||
gzip_comp_level 6;
|
||||
|
||||
proxy_pass http://{{ $.APP }}-{{ $upstream_port }};
|
||||
{{ if (eq $.HTTP2_PUSH_SUPPORTED "true")}}
|
||||
http2_push_preload on;
|
||||
{{ end }}
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
|
||||
Reference in New Issue
Block a user