bugfix: this module might not work properly with multiple http {} blocks in nginx.conf.