<div dir="ltr">Hello guys!<div><br></div><div>Some Nginx users use multiple http {} blocks in their nginx.conf, which causing issues because following http {} blocks override previous http modules' main_conf leading inconsistencies in calls like ngx_http_conf_get_module_main_conf and ngx_http_cycle_get_module_main_conf in global handler contexts like "post configuration" handlers.</div>
<div><br></div><div>Do you think it is a good idea to simply disallow multiple http {} blocks in nginx.conf?</div><div><br></div><div>Best regards,</div><div>-agentzh</div></div>