added changes for nginx module