add support for nginx

fix #74