Specify that every domain name needs to be under a server_name directive (#5949)

This commit is contained in:
ohemorange
2018-05-10 16:46:57 -07:00
committed by GitHub
parent 83ea820525
commit 832941279b
+1 -1
View File
@@ -293,7 +293,7 @@ class NginxConfigurator(common.Installer):
("Cannot find a VirtualHost matching domain %s. "
"In order for Certbot to correctly perform the challenge "
"please add a corresponding server_name directive to your "
"nginx configuration: "
"nginx configuration for every domain on your certificate: "
"https://nginx.org/en/docs/http/server_names.html") % (target_name))
# Note: if we are enhancing with ocsp, vhost should already be ssl.
for vhost in vhosts: