Repair nginx configuration file