fix nginx server_name directives