link to nginx documentation

This commit is contained in:
Noah Swartz 2017-08-15 17:39:23 -07:00
parent 4d72fa42e3
commit 2c9e072a9f

View file

@ -238,8 +238,9 @@ class NginxConfigurator(common.Plugin):
raise errors.MisconfigurationError(
"""Cannot find a VirtualHost matching domain %s.
In order for Certbot to correctly perform the challenge
please add a server_name directive to your nginx configuration.
This configuration file can likely be found in /etc/nginx""" % (target_name))
please add a corresponding server_name directive to your
nginx configuration:
https://nginx.org/en/docs/http/server_names.html""" % (target_name))
else:
# Note: if we are enhancing with ocsp, vhost should already be ssl.
if not vhost.ssl: