Issue in updating sertificate due to nginx configuration

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

Hi @saurabh.patil

create a vHost with an explicit server name.

Or create a wildcard certificate.

Also: You can use the --webroot option.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.