fix for monit and nginx