Fix for nginx