My nginx config file contains following configuration:-
Due to which i am not able to renew certificate as server_name is no valid while updating certs its no recognisable during renewal
server_name ~^(?&subdomain.+).domain.com$;
please suggest me how to renew with such configurations