changes redirects to only include server_name