Headers More module is not working in nginx-devel

Jim Ohlstein jim at ohlste.in
Wed Apr 6 00:53:08 UTC 2016


Hello,



Jim Ohlstein
> On Apr 5, 2016, at 8:43 PM, meteor8488 <nginx-forum at forum.nginx.org> wrote:
> 
> Hi All,
> 
> I'm using FreeBSD with nginx-devel. It seems that this problem is lasting
> for a long time (at least start from nginx 1.9.10 ).
> 
> Even though I  built the source with this module, this module is still not
> working.
> 
> After add below configuration into http {}, 
> more_set_headers    "Server: my_server";
> 
> If try to start nginx, will always get error :
> 
> nginx: [emerg] unknown directive "more_set_headers" in
> /usr/local/etc/nginx/nginx.conf

I'm guessing that you need to add:

load_module modules/ngx_http_headers_more_filter_module.so;

to the main section of nginx. conf.



More information about the nginx mailing list