Spread the love

요즘 proxy모드로 nginx.conf편집하였더니 아래와같은 경고 메시지 나옴..

nginx -t
nginx: [warn] could not build optimal proxy_headers_hash, you should increase either proxy_headers_hash_max_size: 512 or proxy_headers_hash_bucket_size: 64; ignoring proxy_headers_hash_bucket_size
nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful

해결책:

nano /usr/local/nginx/conf/nginx.conf를 편집하고 http불록에 아래문구 추가하십시오.

proxy_headers_hash_max_size 51200 ; 
proxy_headers_hash_bucket_size 6400 ;

구독신청
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x