diff options
-rw-r--r-- | certbot-nginx/certbot_nginx/configurator.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/certbot-nginx/certbot_nginx/configurator.py b/certbot-nginx/certbot_nginx/configurator.py index d77c5c2bc..0579c8d52 100644 --- a/certbot-nginx/certbot_nginx/configurator.py +++ b/certbot-nginx/certbot_nginx/configurator.py @@ -236,11 +236,11 @@ class NginxConfigurator(common.Plugin): if not vhost: # No matches. Raise a misconfiguration error. raise errors.MisconfigurationError( - """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: - https://nginx.org/en/docs/http/server_names.html""" % (target_name)) + ("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: " + "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: |