Added fix for nginx