diff options
author | Noah Swartz <swartzcr@gmail.com> | 2017-08-16 03:39:23 +0300 |
---|---|---|
committer | Noah Swartz <swartzcr@gmail.com> | 2017-08-16 03:39:23 +0300 |
commit | 2c9e072a9f178082ff15d8cd1612a0b67f46dd86 (patch) | |
tree | b6ebc8191d698f59f0b367fb60b236f6a6f10896 | |
parent | 4d72fa42e315614f8a453d51667ca54130ba8de9 (diff) |
link to nginx documentation
-rw-r--r-- | certbot-nginx/certbot_nginx/configurator.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/certbot-nginx/certbot_nginx/configurator.py b/certbot-nginx/certbot_nginx/configurator.py index 80df1c4f5..d77c5c2bc 100644 --- a/certbot-nginx/certbot_nginx/configurator.py +++ b/certbot-nginx/certbot_nginx/configurator.py @@ -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: |