Skip to content
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.

Commit

Permalink
Merge pull request #9 from calavera/headers_max_size
Browse files Browse the repository at this point in the history
Increase the max sizes for proxy headers and server names.
  • Loading branch information
wfarr committed Apr 11, 2013
2 parents 6fe311f + de0dc47 commit e715b01
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions templates/config/nginx/nginx.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ http {
gzip_comp_level 2;
gzip_proxied any;

server_names_hash_bucket_size 128;
server_names_hash_max_size 20000;
proxy_headers_hash_bucket_size 128;
proxy_headers_hash_max_size 20000;

server {
listen 80;
server_name localhost;
Expand Down

0 comments on commit e715b01

Please sign in to comment.