Welcome! Log In Create A New Profile

Advanced

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

April 06, 2016 09:44AM
Hello,

On 4/6/16 8:53 AM, meteor8488 wrote:
> Thanks. You're right. After I load the module, it works.
>
> Another question is for now I have 3 modules
>
> -r-xr-xr-x 1 root wheel 17K 4 6 07:27 ngx_http_geoip_module.so*
> -r-xr-xr-x 1 root wheel 25K 4 6 07:27
> ngx_http_headers_more_filter_module.so*
> -r-xr-xr-x 1 root wheel 328K 4 6 07:27 ngx_http_lua_module.so*
>
> But it seems I only need to load ngx_http_headers_more_filter_module.so. For
> geoip and lua module, even though I didn't load them, they are still
> working.
>
> So is there any differences between these modules? Why some of them need to
> be loaded before use, some are not?
>

Most likely you are not using those modules in your configuration. You
will only get a complaint from nginx if they are referenced in your
configuration file(s) and not loaded.

Since you built nginx from FreeBSD ports, you can look at
/usr/local/etc/nginx/nginx.conf-dist and it will show all the modules
that have been built and need to be loaded dynamically if used.

--
Jim Ohlstein


"Never argue with a fool, onlookers may not be able to tell the
difference." - Mark Twain

_______________________________________________
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: 121
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready