Welcome! Log In Create A New Profile

Advanced

Re: Headers More module is not working in nginx-devel

April 05, 2016 08:54PM
Hello,



Jim Ohlstein
> On Apr 5, 2016, at 8:43 PM, meteor8488 <nginx-forum@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
Subject Author Posted

Headers More module is not working in nginx-devel

meteor8488 April 05, 2016 08:43PM

Re: Headers More module is not working in nginx-devel

Jim Ohlstein April 05, 2016 08:54PM

Re: Headers More module is not working in nginx-devel

meteor8488 April 06, 2016 08:53AM

Re: Headers More module is not working in nginx-devel

Jim Ohlstein April 06, 2016 09:44AM

Re: Headers More module is not working in nginx-devel

JimS April 05, 2016 08:54PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 316
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready