Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated nginx.tmpl to set http2_max sizes #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions nginx.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ server {
{{ end }}
access_log /var/log/nginx/access.log vhost;
return 503;
http2_max_field_size 64k;
http2_max_header_size 64k;

ssl_session_tickets off;
ssl_certificate /etc/nginx/certs/default.crt;
Expand Down Expand Up @@ -209,6 +211,8 @@ server {
listen [::]:443 ssl http2 {{ $default_server }};
{{ end }}
access_log /var/log/nginx/access.log vhost;
http2_max_field_size 64k;
http2_max_header_size 64k;

{{ if eq $network_tag "internal" }}
# Only allow traffic from internal clients
Expand Down Expand Up @@ -349,6 +353,8 @@ server {
{{ if $enable_ipv6 }}
listen [::]:443 ssl http2 {{ $default_server }};
{{ end }}
http2_max_field_size 64k;
http2_max_header_size 64k;
access_log /var/log/nginx/access.log vhost;
return 500;

Expand Down