Skip to content

Commit

Permalink
Fix gzip in sample configs (#86)
Browse files Browse the repository at this point in the history
* Update nginx.conf.erb

* Update nginx-solo-sample.conf.erb

* Update nginx-nextjs-with-forcessl.conf.erb
  • Loading branch information
python273 authored Jun 28, 2021
1 parent 4cd76d0 commit 9be9a7c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/nginx-nextjs-with-forcessl.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ http {
gzip on;
gzip_comp_level 2;
gzip_min_length 512;
gzip_proxied any; # Heroku router sends Via header

server_tokens off;

Expand Down
1 change: 1 addition & 0 deletions config/nginx-solo-sample.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ http {
gzip on;
gzip_comp_level 2;
gzip_min_length 512;
gzip_proxied any; # Heroku router sends Via header

server_tokens off;

Expand Down
1 change: 1 addition & 0 deletions config/nginx.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ http {
gzip on;
gzip_comp_level 2;
gzip_min_length 512;
gzip_proxied any; # Heroku router sends Via header

server_tokens off;

Expand Down

0 comments on commit 9be9a7c

Please sign in to comment.