Hello,


Jim Ohlstein
> On Apr 5, 2016, at 8:43 PM, meteor8488 <nginx-fo...@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.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to