Add server_name directive to nginx configuration

This is needed for multiple URL-based vhosts.