init module callback called twice

xdrew nginx-forum at
Thu Apr 8 13:48:41 UTC 2021

Thanks Maxim, this makes perfect sense! However the part of the question
still stands: is there a way from ngx_cycle_t structure or from some global
structure to figure out in which mode nginx is running - testing the
configuration or actually starting?

Posted at Nginx Forum:,291171,291194#msg-291194

More information about the nginx mailing list