Hello! On Tue, Aug 26, 2014 at 03:09:44PM +0300, Donatas Abraitis wrote:
> Hey, Maxim, > > after trying to change to NGX_DONE or NGX_HTTP_FORBIDDEN in static > ngx_int_t ngx_http_hostprotect_init(ngx_conf_t *cf), I got this when doing > nginx restart: You have to change the access phase handler code (that is, the ngx_http_hostprotect_handler() function), not init handler of your module. A side note: please make sure to never reply to mailing list digests. It breaks threads and looses context. Also, top-posting isn't a good idea. Thank you. -- Maxim Dounin http://nginx.org/ _______________________________________________ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-devel