Move types_hash_max_size to the http context

This commit is contained in:
rhy-jot 2014-06-25 10:17:46 -07:00
parent 75f5e89851
commit 6e95563072
1 changed files with 1 additions and 1 deletions

View File

@ -2,13 +2,13 @@ worker_processes 1;
error_log stderr; error_log stderr;
pid nginx.pid; pid nginx.pid;
daemon off; daemon off;
types_hash_max_size 2048;
events { events {
worker_connections 768; worker_connections 768;
} }
http { http {
types_hash_max_size 2048;
include mime.types; include mime.types;
server { server {
listen <%= ENV['PORT'] %>; listen <%= ENV['PORT'] %>;