Fixes nginx configuration