nginx more_clear_headers error

FreeBSD에 nginx를  pkg로 업그레이드하고 나서 more_clear_headers에러가 뜨길래
ports에서 more_set_headers플러그인을 활성화해 컴파일하여 설치했습니다만
동일한 에러가 떴습니다.

nginx: [emerg] unknown directive “more_clear_headers” in /usr/local/etc/nginx/nginx.conf

아래와 같이 apache처럼 모듈로딩 구문을 추가해주니 해결되었습니다.

load_module /usr/local/libexec/nginx/ngx_http_headers_more_filter_module.so;